Task: Program Execution
Input (English): 3935 3 5455 R 9457 Z 6465 3965 l 8183 3801 g y 5345 P 5679 499 703 S 5359 v 9321 281 j V A 1917 2801 6585 8831 4125
Output (English): 3935, 3, 5455, 18, 9457, 26, 6465, 3965, 12, 8183, 3801, 7, 25, 5345, 16, 5679, 499, 703, 19, 5359, 22, 9321, 281, 10, 22, 1, 1917, 2801, 6585, 8831, 4125