Prasanth Reddy's submission of SIMPLE | CodeChef