Parimal Prasoon's submission of A mathematical trick | CodeChef