Task: Program Execution
Input (English): 1535, R, 3479, m, 2355, 9775, J, 6987, 3741, 4313, 8881, z, L, R, 1223, D, 2729
Output (English): 1, 3, 5, 6, 8, 9, 10, 11, 15, 17