Task: Program Execution
Input (English): 2, ['4293', '7963', '8371', 'r', '247', '6141']
Output (English): 4293, 7963, 8371, r