Shreyash Gupta's submission of Twisted Sum | CodeChef