Keshav Kumar's submission of Machine | CodeChef