on the western side , the urals shed their rainwater and snowmelt into the caspian sea ; on this side , it all flowed into a region of massive rivers and hundreds of lakes , all of which eventually emptied into the arctic ocean .