Karthik's submission of Chef and Square | CodeChef