Task: Program Execution
Input (English): r W G 2925 4137 5725 U 5039 w u z y 3489 U 3011 R 8727 9333 4893 R 1461 f 197 2999 e K X 6839 g w 8227 2407 3887 M u 3817
Output (English): 1, 2, 3, 7, 9, 10, 11, 12, 14, 16, 20, 22, 25, 26, 27, 29, 30, 34, 35