The barriers on which are differently wide and differently high, located at random distances from each other. Now Karel will have to pick up the badges on the way back to the original position, again overcoming the obstacle course on the way back.

Also don't forget that you still can't use variables.