Task: Program Execution
Input (English): S G 5267 x 5023 R A 303 7285 5563 2895 2113 Y 6239 m e 1839 6079 3315 4431 9469 8313 2151 m 4991 b x 147 2737 V Y X 8939 4845
Output (English): 3, 5, 8, 9, 10, 11, 12, 14, 17, 18, 19, 20, 21, 22, 23, 25, 28, 29, 33, 34