Task: Program Execution
Input (English): 487 1695 Q 369 T P 6353 I 8297 4899 473 5651 Q 7935 9481 9145 8579 y 113 4551 K 9029 t k 1819 b b 6475 D D
Output (English): 487, 1695, 17, 369, 20, 16, 6353, 9, 8297, 4899, 473, 5651, 17, 7935, 9481, 9145, 8579, 25, 113, 4551, 11, 9029, 20, 11, 1819, 2, 2, 6475, 4, 4