Task: Program Execution
Input (English): 4, 4, ['2227', '675', '291', 'S', 'o', 'o', 'r', 'G', '7293', '4083', '8445', '1799', 'H', 'M', '1623', 'T']
Output (English): S