floor plan of the apartment.
Room number 1 has side dimensions:
  1a - 320cm, 1b -260cm, 1c 320cm, 1d - 260cm. there is a balcony in wall d, the width of the balcony door is 180 cm. along side b there is a kitchen unit and a stove. there is a door in wall c, the width of the door is 80 cm, it leads to room number 2.
Room number 2 has side dimensions:
  2a - 400cm, 1b - 450cm, 1c 400cm, 1d - 450cm.
in wall 2a there is a window in the middle, the window is 180 cm wide — output 1