Task: Program Execution
Input (English): 5, 5, ['2131', 's', 'q', '1243', 'a']
Output (English): a