Task: Program Execution
Input (English): 4, 4, ['2259', 'D', 'H', 'S', '1953', '5803', '7497']
Output (English): S