Task: Program Execution
Input (English): M, F, V, 3205, K, 8097, 6501, L, x, A, 6443, w, 1645, 5847, 3579, M, G
Output (English): M, F, V, K, L, x, A, w, M, G, 3205, 8097, 6501, 6443, 1645, 5847, 3579