As souffle said, if they are syrians they need to be separated no matter what.
If they are dwarfs you should follow souffle instructions to sex them, and you could use these pics to help you do it
(photos from dwarfhamsterhome.com and Hamsterific.com)