Aaditya Maheshwari's submission of Reduce string | CodeChef