Anand Jaisingh's submission of Winning Ways 2 | CodeChef