Task: Program Execution
Input (English): 2485 8367 1121 n a 1313 8521 Y 1873 Y 3095 4083 7549 2301 p 3147 2893 r m 5041 8219 2345 T 4267 7513 l 5209 8385 2791 h S s
Output (English): 2485, 8367, 1121, 14, 1, 1313, 8521, 25, 1873, 25, 3095, 4083, 7549, 2301, 16, 3147, 2893, 18, 13, 5041, 8219, 2345, 20, 4267, 7513, 12, 5209, 8385, 2791, 8, 19, 19