A step counter runs four separate if checks:
if
How many lines get printed? Enter a whole number.
Once you get it right, the reasoning behind the answer shows up here.