Task: Program Execution
Input (English): 1, 3, ['9863', '9637', 'P', '3151', 'O', '2717', '6815', '7257', '3283']
Output (English): 9863, 3151, 6815