Task: Program Execution
Input (English): 2, 10, ['q', '2637', 'C', 'h', '3269', '8885', '7471', '1653', 'i', 'M', 'q', '4373', '7071', 'N', '2221', 'i', 'Z', 'X', 'P', 'V']
Output (English): 2637, 4373