You can write a program for a robot by dragging and joining commands into the workspace below.

An example program:

2017-UK-03-example

 

Key to buttons:

RunTry Run your program without saving
RunSave Run the program and save it as your answer
 Stop Stop running the program

 

The robot has to move from the red square to the green square.

Task:
Write a program that takes the robot to the green square.
(Your program must be made from 4 blocks or less.)