Task: Program Execution
Input (English): 2, 6, ['V', '2993', '1905', '1877', '35', 'p', 'H', '9649', '4037', 'D', 'V', 'w', '8815', 'Z', 'n', 'I', 'C', 'E', '9919', '4017', 'V', 's', 'p', '917', 'G', 'C', 'M']
Output (English): 2993, 9649, Z, 4017, C