Shreyash Gupta's submission of Number Theory | CodeChef