Task: Program Execution
Input (English): 4, 12, ['1705', 'd', 'D', 'V', 'a', '8565', 'L', '1195', '3219', '9375', '1595', '5031', 'Z', 'y', '6647', '7897', 'd', 's', '8611', '3517', '4865', 'B', 'M', 'L', '821', '4327']
Output (English): V, 7897