Task: Program Execution
Input (English): 6271 5397 167 7071 2583 7359 y P 7105 4161 2063 5383 V M x M 2061 m C 5737 e h h 7021 L 9917 k 3959
Output (English): 6271, 5397, 167, 7071, 2583, 7359, 25, 16, 7105, 4161, 2063, 5383, 22, 13, 24, 13, 2061, 13, 3, 5737, 5, 8, 8, 7021, 12, 9917, 11, 3959