Task: Program Execution
Input (English): 3, 4, ['i', '4567', 'K', '501', '2271', '333', '9751', '2631', 'J', 'k', 'M', 'S']
Output (English): 501, K