Sprocket 2_1

Execute the program according to the drawing specification Sprocket 2_1.