Task: Program Execution
Input (English): X, F, 9841, O, I, 9823, Q, 6105, H, n, M, 2939, L, k, p, f, 8353, 7443, 7895, 8271, 1617, X, k
Output (English): X, F, O, I, Q, H, n, M, L, k, p, f, X, k