# Arup Guha
# 6/13/2022
# Solution #1 to Class Exercise #2: Workout

# Process the first workout independently of the loop.
oldWorkout = int(input("What is the level of workout #1?\n"))
print("Did workout #1 at level", oldWorkout)

# Go through workouts 2 through 10
for i in range(2, 11):

    # Get the next workout.
    newWorkout = int(input("What is the level of workout #"+str(i)+"?\n"))

    # Oooh...this is too hard, we skip it!
    if newWorkout > oldWorkout + 2:
        continue

    # Print out about the workout.
    print("Did workout #"+str(i)+" at level "+str(newWorkout))

    # For the next loop iteration, this is now the old workout.
    oldWorkout = newWorkout
