Task: Program Execution
Input (English): 3217, 5145, Z, a, x, m, f, p
Output (English): Z, a, x, m, f, p, 3217, 5145