Task: Program Execution
Input (English): 4, 13, ['x', '5985', 'K', 'K', 'X', 'd', '8213', '59', '4403', 'T', '4071', '6981', '6897', 'm', 'y', 'M', '2163', '8843', 'q', 'N', 'a', '8873', 'n', '9363', '7847', 'W', 'h']
Output (English): K, 2163