Task: Program Execution
Input (English): R, 3697, q, 6803, 1371, c, 603, 9677, Z, 3587, 8311, C, g, 7459, H, 5333, 1261, R, 8039
Output (English): 1, 3, 6, 9, 12, 13, 15, 18