Task: Program Execution
Input (English): x, 2977, x, p, n, 1081
Output (English): n, p, x