DCXDCX's submission of Winning Ways | CodeChef