Task: Program Execution
Input (English): r, 273, 129, l, 115, g, 309
Output (English): 0, 1, 2, 3, 5, 7, 9