Task: Program Execution
Input (English): 845 4375 9757 w 2917 v N T T 5777 R 5393 2849 x J 1105 F L 4301 7937 v 1015 K E 8731 u 2149 R 1221 151 a t
Output (English): 845, 4375, 9757, 23, 2917, 22, 14, 20, 20, 5777, 18, 5393, 2849, 24, 10, 1105, 6, 12, 4301, 7937, 22, 1015, 11, 5, 8731, 21, 2149, 18, 1221, 151, 1, 20