Task: Program Execution
Input (English): 2, ['l', '3107', 'X', '7751', 'X', 'm']
Output (English): l, X, X