kartik verma's submission of Euro | CodeChef