Text from the official booklet. Refer to the PDF for original mathematical notation, formatting, and linked input files. Printed samples and inputs are reproduced as published.
A robot repeats the steps: [forward, left, right] Given N = 2911, output the N -th step.