Task: Program Execution
Input (English): I, 3677, 6561, 1167, W, 5387, 7003, D, k, 3209, M, 501, F, 6163, 4393, 9691, 361, 7877, 6053
Output (English): I, W, D, k, M, F