Parth Makkar's submission of Problem6 | CodeChef