Task: Program Execution
Input (English): p, 9929, 8531, 2489, A, 9809
Output (English): 9929, 8531, 2489, 9809