A doctor and an engineer both loved the same girl