Task: Program Execution
Input (English): p R G n 8573 K y k y L X 213 h T x 3587 1735 z 6401 f v 2915 I 8479 1197 D 2825 B a 3393 I Y 1783 2731
Output (English): 16, 18, 7, 14, 8573, 11, 25, 11, 25, 12, 24, 213, 8, 20, 24, 3587, 1735, 26, 6401, 6, 22, 2915, 9, 8479, 1197, 4, 2825, 2, 1, 3393, 9, 25, 1783, 2731