Rajan's submission of Exponential | CodeChef