An apple has 24 fewer calories than a banana. If 7 bananas have the same number of calories as 10 bananas, how many calories in one banana?

How can "7 bananas have the same number of calories as 10 bananas"? Which one is supposed to be apples?