Task: Program Execution
Input (English): 701, 9509, 9967, 8239, P
Output (English): P, 701, 9509, 9967, 8239