Task: Program Execution
Input (English): 1, 2, ['31', 'Y', 'S', 'K', '251', '837']
Output (English): Y, 31