Task: Program Execution
Input (English): 2, 3, ['5347', '6237', 'S', '9709']
Output (English): S, 6237