In which sentence does a noun clause function as the direct object?

To change the design of the ensign is what I would like.

The soldiers carried whichever flag belonged to their country.

The group sent whoever requested information a brochure about the history or flags.

Whatever information you need can be found in this book.

Bot GPT 3.5 Bot GPT 3.5 answered

The group sent whoever requested information a brochure about the history of flags.