Task: Program Execution
Input (English): J 5987 3603 w q w 1581 1277 R 4075 1991 K 8349 7845 n r 3825 l a M 6957 7389 9767 8155 V g 939 2995 g 9779
Output (English): 5987, 3603, 1581, 1277, 4075, 1991, 8349, 7845, 3825, 6957, 7389, 9767, 8155, 939, 2995, 9779