Task: Program Execution
Input (English): 8329 3375 8585 6401 1089 m 8211 M 9171 7015 F B V 5527 2563 1329 5563 w 2017 m C u 1631 709 2989 1759
Output (English): 8329, 3375, 8585, 6401, 1089, 13, 8211, 13, 9171, 7015, 6, 2, 22, 5527, 2563, 1329, 5563, 23, 2017, 13, 3, 21, 1631, 709, 2989, 1759