Task: Program Execution
Input (English): 751 J 5717 U 7815 H 6989 7381 1381 q r 5589 9993 1517 p b 7747 t i 7531 8143 3439 V 6519 2335 p 9795 1885 8531 a C 4367 T 4509 5443 v 6217 3805 9819
Output (English): 751, 10, 5717, 21, 7815, 8, 6989, 7381, 1381, 17, 18, 5589, 9993, 1517, 16, 2, 7747, 20, 9, 7531, 8143, 3439, 22, 6519, 2335, 16, 9795, 1885, 8531, 1, 3, 4367, 20, 4509, 5443, 22, 6217, 3805, 9819