Question: The show in which Ted Danson played Sam Malone takes place in a bar in which US state?
Context: "Give Me a Ring Sometime" is the first episode of the American situation comedy "Cheers".  Written by Glen and Les Charles and directed by James Burrows, the episode first aired September 30, 1982 on NBC.  The pilot episode introduces the employees of bar Cheers: Sam Malone, Diane Chambers, Coach Ernie Pantusso, and Carla Tortelli; and regular customers Norm Peterson and Cliff Clavin.  In this episode, Diane, brought in by fiancé Sumner Sloan, meets the employees and patrons of the bar.  When she realizes that her fiancé has left her alone in the bar, Diane accepts Sam's offer to be the bar's waitress to start over. "The Show Where Sam Shows Up" is the 16th episode of the second season of the American sitcom "Frasier".  This episode originally aired on Tuesday, February 21, 1995, on NBC, intended as part of a February ratings sweep by the network.  It features a special guest appearance of Ted Danson as Sam Malone, a recovering sex addict, bartender and ex-baseball player.  In this episode Sam arrives to Seattle to see his old friend Frasier, and then is introduced to Frasier's family at a dinner in Frasier's home, where the inconsistencies about Martin's supposed "death" are cleared up.  While visiting Seattle, Sam ends his relationship with a woman named Sheila (Téa Leoni) after discovering her dalliance with other men.  Danson's appearance in this episode has received mixed reviews, and the positive highlight about it is his interaction with the cast of "Frasier". Diane Chambers is a fictional character in the American television situation comedy show "Cheers", portrayed by Shelley Long and created by Glen and Les Charles.  After her fiancé Sumner Sloan abandons her in the Cheers bar in the pilot episode, Diane works as a bar waitress.  She has an on-off relationship with the womanizing bartender Sam Malone (Ted Danson) and a one-year relationship with Frasier Crane (Kelsey Grammer), who later becomes a main character of the series and "Frasier".  When Long left the series during the fifth season, the producers wrote her character out.  Since then, they added her permanent replacement Rebecca Howe, a businesswoman played by Kirstie Alley, in the sixth season.  Shelley Long made a special guest appearance in the series finale as Diane.  Long also appeared in "Frasier" as Diane's fantasy counterpart in Frasier's dreams and the actual Diane in a crossover episode "The Show Where Diane Comes Back". Edward Bridge "Ted" Danson III (born December 29, 1947) is an American actor, author, and producer well known for his role as lead character Sam Malone on the NBC sitcom "Cheers" and for his role as Dr. John Becker on the CBS sitcom "Becker".  He also starred in the CBS dramas "" and "" as D.B. Russell.  He also plays a recurring role on Larry David's HBO sitcom "Curb Your Enthusiasm", starred alongside Glenn Close in legal drama "Damages", and was a regular on the HBO comedy series "Bored to Death".  In 2015 he starred as Hank Larsson in the second season of FX's black comedy-crime drama anthology "Fargo".  Since 2016, he has played the afterlife "architect" Michael in the NBC sitcom "The Good Place. Sam Malone and Diane Chambers, collectively known as Sam and Diane, are fictional characters in the American situation comedy television series "Cheers".  Sam Malone is a working-class, retired baseball player-turned-bartender played by Ted Danson; Diane Chambers is a college-graduate cocktail waitress played by Shelley Long.  Danson appeared on "Cheers" for its entire run of the series; Long was part of the regular cast from the 1982 series premiere ("Give Me a Ring Sometime") until the fifth-season finale, "I Do, Adieu" (1987).  Long returned for a special appearance in the 1993 series finale, "One for the Road." Cheers is an American sitcom that ran on NBC from September 30, 1982, to May 20, 1993, with a total of 275 half-hour episodes spanning over eleven seasons.  The show was produced by Charles/Burrows/Charles Productions in association with Paramount Network Television.  The show was created by the team of James Burrows, Glen Charles, and Les Charles.  The show is set in a bar named Cheers in Boston, Massachusetts, where a group of locals meet to drink, relax, and socialize.  The show's main theme song, written and performed by Gary Portnoy, lent its refrain "Where Everybody Knows Your Name" as the show's tagline. "I Do, Adieu" is the fifth-season finale of the American television sitcom "Cheers", written by Glen and Les Charles and directed by James Burrows.  It originally aired on May 7, 1987 on NBC.  During the fifth season, Sam Malone (Ted Danson) repeatedly proposes to Diane, and she refuses repeatedly until she accepts engagement in "Chambers vs. Malone" (1987).  In the previous episode, "A House Is Not a Home", Sam and Diane bought a house together.  Before this episode aired, Ted Danson decided to renew his contract with the show as Sam Malone, while Shelley Long decided to quit the series, which could conclude the on-and-off romance of "Sam and Diane" that went on for the first five years since 1982.  Ideas were attempted to write Diane off and to end the story arc, but some ideas were kept in and others thrown out. Ink is an American television sitcom which aired on CBS from 1996–1997 that starred real-life husband and wife Ted Danson and Mary Steenburgen as newspaper journalists, allegedly inspired by the film "His Girl Friday".  The show was also produced by Danson and Steenburgen.  The show was canceled after one season due to lower than expected ratings.  The show's pilot was drastically changed and reshot from the original version. Rebecca Howe is a fictional character of the American television sitcom "Cheers", portrayed by Kirstie Alley and created by Glen and Les Charles.  Rebecca appeared in 147 episodes of "Cheers" between 1987 and 1993 and in one episode of "Wings".  She debuts in the season six episode "Home Is the Sailor" after Shelley Long—who played waitress Diane Chambers—left the show to pursue a movie career.  Much of the show's humor in previous seasons had been based around the interaction and sexual tension between the womanizing, working-class main character, bartender Sam Malone, and the high-class, snobbish Diane.  Rebecca was intended to fill the gap as Sam's new female foil. Samuel "Sam" "Mayday" Malone is a fictional character on the American television show "Cheers", portrayed by Ted Danson and created by Glen and Les Charles.  The central character of the series, Sam, a former relief pitcher for the Boston Red Sox baseball team, is the owner and bartender of the bar called "Cheers".  He is also a recovering alcoholic and a notorious womanizer.  Although his celebrity status was short-lived, Sam retains that standing within the confines of Cheers, where he is beloved by the regular patrons.  Along with Carla Tortelli and Norm Peterson, he is one of only three characters to appear in all episodes of "Cheers".  Sam has an on-again, off-again relationship with the bar waitress Diane Chambers (Shelley Long) for the series' first five seasons until her departure from the series.  Then he tries to seduce Diane's replacement, Rebecca Howe (Kirstie Alley), who frequently rejects his advances.  Sam also appears in "The Show Where Sam Shows Up", a crossover episode of the spin-off "Frasier".
Answer: Massachusetts