Will the hamster and the mouse prefer the same food?

I don't think so cause hamster eat corn and nuts while mouse eat cheese or whatever they want to eat even in the garbage...