Ayushman Mathur's submission of Tandem | CodeChef