Task: Program Execution
Input (English): 3821 a n 3119 M 1109 H 3645 T b Q N 8419 R X w 7565 e 3307 N 9517 O 2741 k G o b W 8055 5043 T 4377 p m 3579
Output (English): 2, 3, 5, 7, 9, 10, 11, 12, 14, 15, 16, 18, 20, 22, 24, 25, 26, 27, 28, 31, 33, 34