How to remove water in engine

This would be comparable to a car which was in a flood. It’s actually in a snowmobile which was sitting uncovered for a year. After exposing the pistons, I noticed water coming out of the exhaust ports and intakes. I’m wondering if I’d be able to try to dissipate it with gasoline, then blow it out more with an air hose. My only other option is to take the whole engine out and then disassemble it. If there are any better methods, or if this would be a bad idea, please tell me.