Task: Program Execution
Input (English): 5, 5, ['9779', 'Q', '3873', 'A', 'C', '8435']
Output (English): C