Task: Program Execution
Input (English): 4947 Q 5753 8629 8997 931 h m 2183 f h 7483 9067 n 9321 407 9041 6499 5733 9031 9719 6107 w 5641 6883 8055 m 129 e 5175 u 8601 Q r P 8257
Output (English): 2, 7, 8, 10, 11, 14, 23, 27, 29, 31, 33, 34, 35