Task: Program Execution
Input (English): S 5773 B P 123 4645 O 9185 P 2557 5481 K 835 3189 C 5113 T J 9779 4803 M 3585 J Z 3987
Output (English): 5773, 123, 4645, 9185, 2557, 5481, 835, 3189, 5113, 9779, 4803, 3585, 3987