Task: Program Execution
Input (English): 3, 4, ['8777', '7081', 'F', 'X', '1611', '2915', '5471', 'K', '9127', 'h', '5061', '3833', 'r', 'O', '7099', '9671', 'v', '2699']
Output (English): F, 5471, 5061, 7099