Task: Program Execution
Input (English): 5703 J 6959 t 7747 5383 1425 5879 W 7037 7175 S 2525 O f 9147 j 5875 Q P 1943 w 1179 3473 e p E r o 8417 6195
Output (English): 5703, 10, 6959, 20, 7747, 5383, 1425, 5879, 23, 7037, 7175, 19, 2525, 15, 6, 9147, 10, 5875, 17, 16, 1943, 23, 1179, 3473, 5, 16, 5, 18, 15, 8417, 6195