Task: Program Execution
Input (English): n, 5465, 5621, 9305, p
Output (English): n, p, 5465, 5621, 9305