Shreyash Gupta's submission of Problem3 | CodeChef