Task: Program Execution
Input (English): z, 7227, z, O, 7145, 183, 4391, P, k, 4535, N
Output (English): 7227, 7145, 183, 4391, 4535