Task: Program Execution
Input (English): 2, 3, ['V', 'j', 'A', 'Q', '4121', '251', 'H', 'A', 'L', 'P']
Output (English): Aj