Ambesh Tiwari's submission of Chef and Triangles | CodeChef