Task: Program Execution
Input (English): 1739, 9915, R, 3807, 3613, R, 6975, 3527, 311, z, k, 1859, b, 9649, r, 5263, 8447, 3447, E, Z
Output (English): 1, 2, 4, 5, 7, 8, 9, 12, 14, 16, 17, 18