Task: Program Execution
Input (English): 9781, 4739, X, 4445, r, L, q, k
Output (English): X, r, L, q, k