Task: Program Execution
Input (English): p M 2043 1169 W N O D Q Y V 5793 3941 h 497 5451 5539 3913 8979 8131 1641 z H 5447 2185 a Q 39 7077 9477 2385 8883 h 8223 Q x 8465
Output (English): 1, 2, 5, 6, 7, 8, 9, 10, 11, 14, 22, 23, 26, 27, 33, 35, 36