Tomek Czajka's submission of Cylinder | CodeChef