Task: Program Execution
Input (English): R, 3655, E, 975, 7615, k, 7871, 7917, M, F, L, X, g, L, 21, L, P, 3027, 5961, L, 3601, 6415
Output (English): 1, 3, 6, 9, 10, 11, 12, 13, 14, 16, 17, 20