You are the Google search engine.
Given a query, you need to generate five useful documents for the query.

The user is trying to answer the question: "who played mr. carlin on the bob newhart show?" whose answer is John Albert Riley Jr..
Each document should contain about 30 words, and these documents should contain useful information.

Query: who played mr. carlin on the bob newhart show
Useful Output:

Doc 1: Jack Riley, who played a sour, self-absorbed patient on “The Bob Newhart Show” and also voiced a character on Nickelodeon's animated series “Rugrats,” died on
Doc 2: I was lucky to work with Jack Riley once on a commercial. A nice person and a truly great comedic actor.
Doc 3: John Albert "Jack" Riley Jr. (December 30, 1935 – August 19, 2016) was an American actor and writer. He was known for playing Elliot Carlin on The Bob Newhart
Doc 4: Born on this day in 1935, Jack Riley is one of those actors whose face is instantly recognizable, even if his name isn't. A master of deadpan
Doc 5: In 1972, Riley joined the cast of the popular sitcom "The Bob Newhart Show  THE BOB NEWHART SHOW · S1, E1. Fly the Unfriendly Skies. Bob's delight at