Choose the sentence (A or B) which means the same as the first sentence.
By the time Dad came home, I’d gone to bed.