Task: Program Execution
Input (English): 1407, 6341, K, 409, L, K, O, d, 1271, 4763
Output (English): 1407, 6341, 409, 1271, 4763