Task: Program Execution
Input (English): 9877 e 4115 8309 2519 7583 G m G B B 1421 b 2963 4937 m j 3271 1027 g 3303 J 7545 2985 327 457 3165 R 9637 259 2399 167 7231 7499 v 2013
Output (English): 1, 3, 4, 5, 6, 12, 14, 15, 18, 19, 21, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 36