This is a paraphrasing task. In this task, you're given a sentence and your task is to generate another sentence which express same meaning as the input using different words.
Q: they found that it was accommodation consisting of four rooms one of which , a bedroom , was occupied by mr mahdi .
A:
they said it was an apartment with four rooms in which b. m. mahdi 's office was available .