Task: Program Execution
Input (English): 7031 6729 n P A B 8347 9943 S C 7017 1889 4201 5683 E l H 159 1463 v 5043 d u k L 4667 3811 r 449 e 9713 5375 319 595 g 5133
Output (English): 7031, 6729, 14, 16, 1, 2, 8347, 9943, 19, 3, 7017, 1889, 4201, 5683, 5, 12, 8, 159, 1463, 22, 5043, 4, 21, 11, 12, 4667, 3811, 18, 449, 5, 9713, 5375, 319, 595, 7, 5133