Task: Program Execution
Input (English): q, 3159, b, 9819, X
Output (English): q, b, X, 3159, 9819