Task: Program Execution
Input (English): 6, 7, ['4561', '1959', '3365', '1151', '3207', 'Q', 'R', 'L', 'y', '4513', '6973', '3989', '7445', 'A']
Output (English): QR