Which of the following sentences uses the appositive correctly?

A favorite toy, the purple elephant was lost somewhere underneath the bed.
The purple elephant a favorite toy was lost somewhere underneath the bed.
The purple elephant, a favorite toy, was lost somewhere underneath the bed.
The purple elephant was lost somewhere underneath the bed, a favorite toy.