Task: Program Execution
Input (English): n, 4345, 3507, 339, 8397, 8863, Z
Output (English): n, Z