Task: Program Execution
Input (English): 1459 6813 x m 8821 x s 8171 J M a 4231 x 8385 M S 3745 1791 Q r m 2187 Q x A i 7253
Output (English): 1, 2, 5, 8, 12, 14, 17, 18, 22, 27