Task: Program Execution
Input (English): 889 4825 P 8127 k 707 2419 5021 B 7247 J J 889 221 8877 5847 3713 b f 999 H V G 9065 u J 1027 273 6425 4825 d U o
Output (English): 889, 4825, 16, 8127, 11, 707, 2419, 5021, 2, 7247, 10, 10, 889, 221, 8877, 5847, 3713, 2, 6, 999, 8, 22, 7, 9065, 21, 10, 1027, 273, 6425, 4825, 4, 21, 15