Task: Program Execution
Input (English): Y 6059 4241 r 5043 p 4373 m Q Y 1359 7053 a U 2429 h D 5339 n l 8163 3299 9541 3565 8633 4247 i 4925 D 5211 R
Output (English): 1, 4, 6, 8, 9, 10, 13, 14, 16, 17, 19, 20, 27, 29, 31