Task: Program Execution
Input (English): e g m 5223 P 1195 3965 Z 1623 F Z 5601 J h F N f 4127 u 2851 6179 1799 Q T 7647 8901 9847 5359 i 963 T O
Output (English): 1, 2, 3, 5, 8, 10, 11, 13, 14, 15, 16, 17, 19, 23, 24, 29, 31, 32