Task: Program Execution
Input (English): 3, 5, ['5935', '9895', 'Q', 'V', '6293']
Output (English): 6293, V, Q