Ninety-eight apples who always lie and one banana who always tells the truth are randomly arranged along a line. The first fruit says "One of the first forty fruits is the banana!" The last fruit responds "No, one of the \emph{last} forty fruits is the banana!" The fruit in the middle yells "I'm the banana!" In how many positions could the banana be?

Let's think step by step and output the final answer within \boxed{}.
user