Sprocket 1_2

Execute the program according to the drawing specification Sprocket 1_2.