Task: Program Execution
Input (English): 8987 5319 2137 Z e 4997 4895 565 E p q 3453 P 8895 u 7649 N R 3095 u 8351 3321 a X 273 2769
Output (English): 8987, 5319, 2137, 26, 5, 4997, 4895, 565, 5, 16, 17, 3453, 16, 8895, 21, 7649, 14, 18, 3095, 21, 8351, 3321, 1, 24, 273, 2769