Bangladeshi twins who were joined at the head were recovering Friday after Hungarian surgeons performed a marathon 30-hour operation to separate their skulls and brains.