Ryodan's submission of Edgy | CodeChef