Task: Program Execution
Input (English): 3599, 2889, 3415, 1003, R, D, C, 7165, 3267, t, p, S, 5371, j, 3639, 2779
Output (English): 1, 2, 3, 4, 8, 9, 13, 15, 16