Task: Program Execution
Input (English): 1371, 3037, 1445, 5533, h, Q, 4985, Q, 7053, d, 3967, A, 5447, 3893, 9703, 4459, 3179, Y, o, X, h, 8063, G, 2425
Output (English): 1, 2, 3, 4, 7, 9, 11, 13, 14, 15, 16, 17, 22, 24