Task: Program Execution
Input (English): N q 2221 7529 9637 3675 6257 2715 S 6807 I H P 899 K P 1939 9837 H 4525 k 329 T 4583 6235 3051 J 9459 3781 e 6093 8527 O 6719 2297
Output (English): 14, 17, 2221, 7529, 9637, 3675, 6257, 2715, 19, 6807, 9, 8, 16, 899, 11, 16, 1939, 9837, 8, 4525, 11, 329, 20, 4583, 6235, 3051, 10, 9459, 3781, 5, 6093, 8527, 15, 6719, 2297