An acceptable answer for a question that relates to simultaneous equations?

I recently happened upon a problem. I have produced a solution, however, I am not sure whether it is acceptable or not. Here is the problem:

apples weigh the same as bananas. bananas weigh the same as cherries. How many cherries weigh the same as apples?

I believe the solution to be apples cherries. The problem is that I am not sure whether it is acceptable to have on both sides of the equation. I have asked a few individuals and opinions vary. Is the solution acceptable?

Thank you. All help on this problem is appreciated.