Task: Program Execution
Input (English): n 6157 A r P s L I 3783 o 7369 9859 S a 8317 1217 9875 165 5359 4977 9793 G 9371 q b 4739 1499 m 4747 I 3261 M 3141 a 4849 57
Output (English): 14, 6157, 1, 18, 16, 19, 12, 9, 3783, 15, 7369, 9859, 19, 1, 8317, 1217, 9875, 165, 5359, 4977, 9793, 7, 9371, 17, 2, 4739, 1499, 13, 4747, 9, 3261, 13, 3141, 1, 4849, 57