manas agrawal's submission of Chang and the Perfect Function | CodeChef