press the green flag
I aimed to make it as efficient as possible by checking as few conditions as possible.