Title: Cinco de Mayo (Brooklyn Nine-Nine)
Content:  "Cinco de Mayo" is the sixteenth episode of the sixth season of the American television police sitcom series Brooklyn Nine-Nine, and the 128th overall episode of the series. The episode was written by David Phillips and directed by Rebecca Asher. It aired on May 9, 2019 on NBC. The show revolves around the fictitious 99th precinct of the New York Police Department in Brooklyn and the officers and detectives that work in the precinct. In this episode, after having delayed the Halloween heist due to tragic circumstances, the precinct proceeds with the annual heist which takes place on Cinco de Mayo, just as Terry's Lieutenant Exam is coming up and to help him ease the stress. According to Nielsen Media Research, the episode was seen by an estimated 1.83 million household viewers and gained a 0.6/3 ratings share among adults aged 18–49. The episode received critical acclaim from critics, who praised the cast's performance and writing, admiring how despite the amount of heist, the show still manages to surprise.
Title: Bad Beat (Brooklyn Nine-Nine)
Content:  "Bad Beat" is the 5th episode of the fifth season of the American television police sitcom series Brooklyn Nine-Nine, and the 95th overall episode of the series. The episode was written by Carol Kolb and directed by Kat Coiro. It aired on Fox in the United States on November 7, 2017. The show revolves around the fictitious 99th precinct of the New York Police Department in Brooklyn and the officers and detectives that work in the precinct. In the episode, Jake, Terry, and Holt prepare to work on an operation to catch a criminal but the process conflicts with Holt's old gambling addiction. Meanwhile, Boyle convinces Amy to invest in a business with him while Rosa sits all day after being challenged by Hitchcock and Scully. According to Nielsen Media Research, the episode was seen by an estimated 1.50 million household viewers and gained a 0.6/2 ratings share among adults aged 18–49. The episode received positive reviews from critics, who praised Braugher's performance and the character development.
Title: Beach House (Brooklyn Nine-Nine)
Content:  "Beach House" is the twelfth episode of the second season of the American television police sitcom series Brooklyn Nine-Nine. It is the 34th overall episode of the series and is written by Lakshmi Sundaram & David Phillips and directed by Tim Kirkby. It aired on Fox in the United States on January 4, 2015. In the episode, Boyle invites the precinct on a detectives-only weekend at his ex-wife's beach house while he retains it. However, upon hearing that Holt has never gone to social events during his detective days due to his sexuality, Jake invites Holt to the house. However, due to Holt's nature, the weekend turns dull. Meanwhile, Boyle helps Rosa in her relationship with Marcus while Gina tries to know what happens to Amy after she drinks her sixth drink. The episode was seen by an estimated 6.12 million household viewers and gained a 3.0/8 ratings share among adults aged 18–49, according to Nielsen Media Research, hitting series highs in 18-49 demo. The episode received mostly positive reviews from critics, who praised Braugher's performance and the cold open in the episode, although the Gina-Amy subplot received a mixed response.
Title: 99 (Brooklyn Nine-Nine)
Content:  "99" is the 9th episode of the fifth season of the American television police sitcom series Brooklyn Nine-Nine, and the 99th overall episode of the series. The episode was written by Andy Bobrow and directed by Benz. It aired on Fox in the United States on December 5, 2017. Mike Hagerty reprises his role as McGintley, the former captain of the Nine-Nine. The show revolves around the fictitious 99th precinct of the New York Police Department in Brooklyn and the officers and detectives that work in the precinct. In the episode, the precinct attends the funeral of the previous captain in Los Angeles, where Holt is told he's on the shortlist for the Commissioner position. The squad then sets to arrive to New York in time so Holt can attend the interview. According to Nielsen Media Research, the episode was seen by an estimated 1.94 million household viewers and gained a 0.7/3 ratings share among adults aged 18–49. The episode received critical acclaim, praising the performances, writing and callbacks to previous episodes, with some deeming it one of the best episodes in the series.
Title: Brooklyn Nine-Nine (season 5)
Content:  finds a loophole that allows Holt to keep up his deal with Murphy without jeopardizing his moral code, Murphy finds out about their ruse and threatens Kevin's life. Kevin is forced to remain in a safe house with Jake for two months to avoid detection from Murphy. After the Nine-Nine successfully locates Murphy's hideout, Kevin takes down Murphy and the mobster and his men are successfully apprehended. Charles attempts to run his own food truck business. Amy passes the Sergeant's Exam. After their wedding plans fall apart from a bomb threat, Jake and Amy get married outside of the precinct. The season ends at the after-party of their wedding where the squad is unsure whether Holt won the Commissioner title or not.
Title: The Big House (Brooklyn Nine-Nine)
Content:  "The Big House" is the season premiere of the fifth season of the American television police sitcom series Brooklyn Nine-Nine, consisting of the first and second episodes. They are also the 91st and 92nd overall episodes of the series. "Pt. 1" is written by series Luke Del Tredici and directed by Tristram Shapeero, and "Pt. 2" is written by Justin Noble and directed by Michael McDonald. The episodes aired on Fox in the United States with "Pt. 1" airing on September 26, 2017, and "Pt. 2" airing on October 3, 2017. The show revolves around the fictitious 99th precinct of the New York Police Department in Brooklyn and the officers and detectives that work in the precinct. As part of an attempt to catch corrupt Lt. Melanie Hawkins, Jake and 
Title: Brooklyn Nine-Nine (season 5)
Content:  The fifth season of the television sitcom Brooklyn Nine-Nine premiered September 26, 2017 on Fox. It is the final season to air on Fox, as the series was cancelled on May 10, 2018, before NBC picked it up for a sixth season the next day.
Title: Debbie (Brooklyn Nine-Nine episode)
Content:  "Debbie" is the 5th episode of the seventh season of the American television police sitcom series Brooklyn Nine-Nine, and the 135th overall episode of the series. The episode was written by Marcy Jarreau and directed by Claire Scanlon. It aired on February 27, 2020 on NBC. The show revolves around the fictitious 99th precinct of the New York Police Department in Brooklyn and the officers and detectives that work in the precinct. In this episode, the precinct investigates Debbie after she steals drugs and guns from an evidence room, intending to sell it to a mobster. Jake and Rosa then infiltrate and pretend to be part of the mobster's payroll in order to get his location. According to Nielsen Media Research, the episode was seen by an estimated 1.74 million household viewers and gained a 0.5 ratings share among adults aged 18–49. The episode received positive reviews from critics, with praise for Vanessa Bayer's guest performance although the writing received some criticism.
Title: Brooklyn Nine-Nine (season 5)
Content:  Jake and Rosa adjust to life in jail before the Nine-Nine are able to bust Melanie Hawkins when Holt is forced to make a deal with local mobster Seamus Murphy. After their release, Jake realizes he's not ready to be back out in the field right away and Rosa breaks up with Adrian. During the fifth annual Halloween heist, Jake proposes to Amy and they get engaged. On a trip to Los Angeles for the funeral of the Nine-Nine's previous captain, Holt learns he's in the running to become the new police commissioner and the crew vows to help him deal with Murphy. Rosa comes out as bisexual. Gina returns to the Nine-Nine after spending months on maternity leave. Though the crew 
Title: Brooklyn Nine-Nine (season 5)
Content: Gina Gershon as Lt. Melanie Hawkins ; Tim Meadows as Caleb ; Lou Diamond Phillips as Jeff Romero ; Paul Adelstein as Seamus Murphy ; Craig Robinson as Doug Judy ; Jason Mantzoukas as Adrian Pimento ; Marc Evan Jackson as Kevin Cozner ; Kevin Dorff as Hank ; Winston Story as Bill 

Question: when does brooklyn nine nine season 5 episode 12?
Answer: March 18, 2018.