Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: in an office , 50 percent of the workers have at least 5 years of service , and a total of 16 workers have at least 10 years of service . if 90 percent of the workers have fewer than 10 years of service , how many of the workers have at least 5 but fewer than 10 years of service ?
Output:
8