Freebie and the Bean is a 1974 American action-comedy film about two off-beat police detectives who wreak havoc in San Francisco attempting to bring down a local organized crime boss.
 The picture, a precursor to the buddy cop film genre popularized a decade later, stars James Caan, Alan Arkin, Loretta Swit and Valerie Harper.
 Harper was nominated for the Golden Globe for New Star of the Year for playing the Hispanic wife of Alan Arkin.
 The film was directed by Richard Rush.
 An article in Rolling Stone magazine alleged that Stanley Kubrick called "Freebie and the Bean" the best film of 1974.
 Arkin and Caan would not appear in another movie together until the 2008 film adaptation of "Get Smart".
City is an American sitcom that aired on CBS from January 29 to June 8, 1990.
 The series was a new starring vehicle for Valerie Harper, which went into development not long after she and husband Tony Cacciotti won their lawsuit against Lorimar-Telepictures over her dismissal from her NBC sitcom "Valerie" (which eventually continued without her as "The Hogan Family").
 "City" was created by Paul Haggis, and like Harper's previous series, was also executive produced by Cacciotti.
K-9 is a 1989 American action-comedy film starring James Belushi and Mel Harris.
 It was directed by Rod Daniel, written by Steven Siegel and Scott Myers, produced by Lawrence Gordon and Charles Gordon, and released by Universal Pictures.
The Gambler is a 1974 American crime drama film written by James Toback and directed by Karel Reisz.
 It stars James Caan, Paul Sorvino and Lauren Hutton.
 Toback wrote it as a fictional story using his own teaching career and gambling addiction as inspiration.
So Undercover is a 2012 American action-comedy film directed by Tom Vaughan and written by Allan Loeb and Steven Pearl.
 Starring Miley Cyrus, Jeremy Piven, and Mike O'Malley, the film was released for the first time in the United Arab Emirates on December 6, 2012 and released direct-to-video in the United States on February 5, 2013.
 The film has been released in theatres of only 13 countries worldwide.
The In-Laws is a 1979 American action-comedy film starring Alan Arkin and Peter Falk, written by Andrew Bergman and directed by Arthur Hiller on various locations, including Mexico, which served as the film's representation of the fictional Central American setting.
 The 2003 remake stars Michael Douglas, Albert Brooks and Candice Bergen.
Richard Rush (born April 15, 1929 in New York, New York) is an American movie director, scriptwriter, and producer.
 He is best known for the Oscar-nominated "The Stunt Man".
 His other works, however, have been less celebrated.
 The next best-known of his movies is "Color of Night" — also nominated, but in this case for the Golden Raspberry Award.
 Rush also directed "Freebie and the Bean", an over-the-top police buddy comedy/drama starring Alan Arkin and James Caan.
 He co-wrote the screenplay for the 1990 movie "Air America".
Another 48 Hrs.
 is a 1990 American action-comedy film, directed by Walter Hill and stars Eddie Murphy, Nick Nolte, Brion James, Andrew Divoff, and Ed O'Ross.
 It is the sequel to the 1982 film "48 Hrs.
" Nolte reprises his role as San Francisco police officer Jack Cates, who has 48 hours to clear his name from a manslaughter charge.
 To do so, he again needs the help of Reggie Hammond (Murphy), who is a newly released convict.
 At the same time, a mastermind known only as the Iceman has hired a biker gang to kill Reggie.
James Edmund Caan (born March 26, 1940) is an American actor.
 After early roles in "The Glory Guys" (1965), for which he received a Golden Globe nomination, "El Dorado" (1966), and "The Rain People" (1969), he came to prominence in the 1970s with significant roles in films such as "Brian's Song" (1971), "Cinderella Liberty" (1973), "The Gambler" (1974), "Freebie and the Bean" (1974), "Rollerball" (1975), "Funny Lady" (1975), "A Bridge Too Far" (1977), "1941" (1979), and "Chapter Two" (1979).
 For his signature role in "The Godfather" (1972), that of hot-tempered Sonny Corleone, Caan was nominated for the Academy Award for Best Supporting Actor and the corresponding Golden Globe.
Valerie Kathryn Harper (born August 22, 1939) is an American actress.

Question: In what city does 1974 American action-comedy film Freebie and the Bean, starring American actress Valerie Harper and James Caan, take place in?
Answer: San Francisco