Human Resource Machine/Year 2

Strategy
This year you are introduced to your third instruction: JUMP. The first time you try this program, you have an unspecified number of items on the IN conveyor. Since you don't know how many items you need to transfer, you'll want to write a program that continuously grabs from the IN conveyor belt, and drops to the OUT conveyor belt until you run out of items. A program will always stop if the worker hits an INBOX instruction, but there is nothing left on the IN conveyor belt.
 * JUMP: When your worker encounters the jump command, he will "jump" to the instruction that follows after the blue box which you can drag to another point in your program. You can have the worker jump to a previous instruction in the program, or skip ahead to other instructions further below.

To do this, we must use the JUMP command. After executing an INBOX and then an OUTBOX, we must JUMP back to the start of the program. This creates a loop, and the worker will continuously execute those instructions until the IN conveyor is empty. (When these solutions are typed out, the JUMP command will include a label, and the program will jump to that label. In the following case, when "JUMP a" is reached, the program will start back over at "a:" above the INBOX command.)

a:   INBOX OUTBOX JUMP    a

Optimizing
When you get far enough in the game (year 7), you will be told that you will be graded on the size of your program, as well as its efficiency. In some cases, it's not possible to achieve acceptable scores for both criteria with the same program. This year is one such case.

While you can solve the problem with as few as three instructions, that's three instructions per letter. The average case that you're being compared with has ten letters. Three instructions for ten letter is 30 steps. You're being asked to do it in 25 or less. The only way to achieve this is to write another brute force program that literally repeats INBOX, OUTBOX, 12 times for a total of 24 steps. Then you will achieve the Speed Challenge for this level.