Ayan Ghatak's submission of And Tuples | CodeChef