Task: Program Execution
Input (English): 8651 2319 X 4597 H r 8619 G B 1801 9853 9127 7187 w 9485 j 7977 t m 2053 9709 1195 7029 h 3779 5151 6159 x z Z 9439 a z w q 7095
Output (English): 3, 5, 6, 8, 9, 14, 16, 18, 19, 24, 28, 29, 30, 32, 33, 34, 35