Task: Program Execution
Input (English): 7817 s x t B b 5503 7109 B a 9381 2565 H u j 6055 5119 p 4815 5261 6917 447 3531 9567 8283 Q 9745 8375 9763 I G 47 v
Output (English): 7817, 19, 24, 20, 2, 2, 5503, 7109, 2, 1, 9381, 2565, 8, 21, 10, 6055, 5119, 16, 4815, 5261, 6917, 447, 3531, 9567, 8283, 17, 9745, 8375, 9763, 9, 7, 47, 22