Which sentence is written in the passive voice?
A
My friends helped me paint the house.
B
I was helped by my friends when I painted the house.
A
B