Task: Program Execution
Input (English): 2, 4, ['391', '1887', '7717', 'O']
Output (English): 1887, 7717, O