Input: When was we can work it out written?
Output: 

 When was the song "We Can Work It Out" by the Beatles written? 
 1965