Task: Program Execution
Input (English): K 257 2725 3791 137 d A 1621 e 7827 7213 L G E 4469 Q 283 2529 c 601 q a 8731 k 9305 R 1189 k 3225 h 9905 8207 9671
Output (English): 11, 257, 2725, 3791, 137, 4, 1, 1621, 5, 7827, 7213, 12, 7, 5, 4469, 17, 283, 2529, 3, 601, 17, 1, 8731, 11, 9305, 18, 1189, 11, 3225, 8, 9905, 8207, 9671