Given the task definition and input, reply with output. In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.

passage: ''I Wanna Be Your Man'' is a Lennon--McCartney-penned song recorded and released as a single by the Rolling Stones, and then recorded by the Beatles. The song was primarily written by Paul McCartney, and finished by Lennon and McCartney in the corner of a room while Mick Jagger and Keith Richards were talking.
question: did the beatles write songs for the rolling stones?
Yes