Mark Kornejchik's submission of Chef and Tuples | CodeChef