This code is too long! Can you make it shorter with a loop?
The instructions below work, but a good coder finds the smartest solution. Replace the repeating blocks with a loop to make the character reach the flag.