Task: Program Execution
Input (English): 1, 5, ['3761', '4567', '6339', 'Z', 'Q', 'g', 'S']
Output (English): Q, Z, 6339, 4567, 3761