Task: Program Execution
Input (English): P 4085 p 5015 1535 3509 1685 E V 1251 L o 4449 2603 p q X 505 t i C f Z T 2867 a E
Output (English): 4085, 5015, 1535, 3509, 1685, 1251, 4449, 2603, 505, 2867