Input: Write a function to generate a square matrix filled with elements from 1 to n raised to the power of 2 in spiral order.

Answer:
def generate_matrix(n):
        if n<=0:
            return []
        matrix=[row[:] for row in [[0]*n]*n]
        row_st=0
        row_ed=n-1
        col_st=0
        col_ed=n-1
        current=1
        while (True):
            if current>n*n:
                break
            for c in range (col_st, col_ed+1):
                matrix[row_st][c]=current
                current+=1
            row_st+=1
            for r in range (row_st, row_ed+1):
                matrix[r][col_ed]=current
                current+=1
            col_ed-=1
            for c in range (col_ed, col_st-1, -1):
                matrix[row_ed][c]=current
                current+=1
            row_ed-=1
            for r in range (row_ed, row_st-1, -1):
                matrix[r][col_st]=current
                current+=1
            col_st+=1
        return matrix


Input: In what city was Glover Morrill Allen born?

Answer: ["Walpole", "Walpole, New Hampshire", "Walpole N.H.", "Walpole NH"]


Input: Xiaogan and Mingguang, are located in which country?

Answer: People's Republic of China


Input: Who had a 60s No 1 with Lightnin' Strikes?

Answer: Luigi A.G. Sacco

Answer: Luigi Giovanni Sacco

Answer: Luigi Alfredo Giovanni Sacco

Answer: Luigi Alfredo Sacco

Answer: Luigi A. G. Sacco

Answer: Lou Christie


Input: What is the capital of the country where Walnut Grove is located in the state that KUMM plays in?

Answer: Redwood Falls


Input: Do director of film Riders Of The Deadline and director of film Vaanam share the same nationality?

Answer: no


Input: In what year did the Britain Burma Society founded under the distinguished patronage of  Earl Mountbatten of Burma, Sir Hubert Rance whose formal prefix Sir was strictly governed by law and custom as an honorific address?

Answer: 1957


Input: Where in Europe was much of Evita filmed?

Answer: Maďarsko

Answer: Magyarorszag

Answer: Ungarn

Answer: Magyar Köztársaság

Answer: Hungarian Republic

Answer: Hungarian Republic of 1989

Answer: Hongarije

Answer: Hungery

Answer: Architecture of Hungary

Answer: Magyar Koeztarsasag

Answer: Magyarország

Answer: Austrian Empire (Hungary)

Answer: HUNGARY

Answer: Hungría

Answer: Hungray

Answer: ISO 3166-1:HU

Answer: Hongrie

Answer: HUngary

Answer: Republic of Hungary

Answer: Ungheria

Answer: Magyar Koztarsasag

Answer: Hungary

Answer: Hungarian holidays


Input: Are Mary Doria Russell and James Joyce both novelists?

Answer: yes


Input: What city in the province where Tobique-Mactaquac is located borders Riviere-Verte?

Answer: Edmundston


Input: What was the first sequel to Star Wars?

Answer: Star Wars Episode 5

Answer: The battle of hoth

Answer: Star Wars Episode V:The Empire Strikes Back

Answer: The Empire Strikes Back

Answer: Star Wars V

Answer: Star Wars: Empire Strikes Back

Answer: Star Wars: Episode V The Empire Strikes Back

Answer: Star Wars Episode V: Empire Strikes Back

Answer: Star Wars Episode V: The Empire Strikes Back

Answer: Carbonite (Star Wars)

Answer: Battle of Hoth

Answer: Empire strikes back

Answer: SWE5 (Star Wars Episode V: The Empire Strikes Back)

Answer: Luke I am your father

Answer: EG-6

Answer: SWTESB

Answer: EG-4

Answer: STAR WARS V: The Empire Strikes Back

Answer: Star Wars: The Empire Strikes Back

Answer: No, Luke, I am your father

Answer: Star Wars: Episode V - The Empire Strikes Back

Answer: SW5 (Star Wars Episode V: The Empire Strikes Back)

Answer: Battle of hoth

Answer: Star Wars: Episode 5 - The Empire Strikes Back

Answer: STAR WARS EPISODE 5

Answer: Star Wars V: The Empire Strikes Back

Answer: The Empire strikes Back

Answer: Battle of Bespin

Answer: Star Wars: Episode V

Answer: Episode V: The Empire Strikes Back

Answer: Empire Strikes Back

Answer: Star Wars, Episode V - The Empire Strikes Back

Answer: The empire striks back

Answer: Star Wars Episode V

Answer: I am your father

Answer: TESB

Answer: Star Wars 5

Answer: Battle of Bespin (Galactic Civil War)

Answer: Luke, I am your father

Answer: Star Wars: Episode V: The Empire Strikes Back


Input: Where was the owner of the Gold Spike, located in the place where Chuck Wortman died, educated?

Answer: Harvard


Input: What is Frits Castricum's occupation?

Answer: ["journalist", "journo", "journalists", "politician", "political leader", "political figure", "polit.", "pol"]


Input: Snow White is a Disney media franchise based on a German fairy tale by who?

Answer: Brothers Grimm


Input: when was the election to the constituent assembly held in india

Answer: 1946


Input: Which country does the airline Ladeco come from?

Answer: ISO 3166-1:CL

Answer: Cxilio

Answer: Cile

Answer: Etymology of Chile

Answer: Republic of Chile

Answer: Chilean Republic

Answer: State of Chile

Answer: Chile

Answer: Name of Chile

Answer: República de Chile

Answer: Chilé


Input: Which plant, Buddleja or Burchardia, is an herb named after a German botanist?

Answer: Burchardia


Input: dolce and gabbana based on which italian city

Answer: Milan


Input: What is Per Risvik's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: What is the highest point in Achwa's country?

Answer: 1,400 metres


Input: What was Stanley Kubrick's final movie?

Answer: Eyes wide shut

Answer: Eyes Wide Shut


Input: What was the first sequel to The Pink Panther called?

Answer: Shot in the dark

Answer: Shot in the Dark

Answer: A Shot in the Dark (song)

Answer: Shot In the Dark

Answer: A Shot in the Dark

Answer: A Shot In The Dark

Answer: Shot in the Dark (disambiguation)

Answer: A Shot in the Dark (film)


Input: What nationality is the director of film Poor Little Sif?

Answer: Austrian


Input: Were Rufino Tamayo and Sana Mersni from the same country?

Answer: no


Input: where have the olympics been in the us

Answer: Squaw Valley

Answer: Lake Placid

Answer: St. Louis

Answer: Atlanta

Answer: Los Angeles

Answer: Salt Lake City


Input: What is Nancy Landon Kassebaum's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Which film has the director who died first, Sos Pacific or Amores De Ayer?

Answer: Amores De Ayer


Input: What is Bala's occupation?

Answer: ["film director", "movie director", "director", "motion picture director", "screenwriter", "scenarist", "writer", "screen writer", "script writer", "scriptwriter"]


Input: In what city was Lucia de Berk born?

Answer: ["The Hague", "Den Haag", "'s-Gravenhage", "Haag"]


Input: when does new series of dr who start 2018

Answer: 7 October 2018


Input: Which mine in California, lasting from 1873 to 1883, became one of the most noted mercury producers in the world?

Answer: Sulphur Bank Mine


Input: In square miles how big is lake Michigan?

Answer: twenty-two thousand, three hundred

Answer: 22300

Answer: 22,300


Input: Huddersfield Giants R.L.F.C. are an English professional rugby league club from Huddersfield, West Yorkshire, the birthplace of rugby league, who play in the Super League competition, they play their home games at the Kirklees Stadium which is shared with Huddersfield Town F.C., is a multi-use sports stadium in Huddersfield in West Yorkshire, in which country?

Answer: England


Input: Which is located in Hunan province, Huaihua or Qitaihe?

Answer: Huaihua


Input: Jim Keller is a microprocessor engineer most well known for his work at AMD and Apple, he was involved in designing which 32-bit package on package (PoP) system-on-a-chip (SoC) designed by Apple Inc. and manufactured by Samsung?

Answer: Apple A4


Input: A radio comedy broadcast on BBC Radio 4 that satirizes the week's news, in its early days featured the voice of an English comedian born in what city in 1969?

Answer: East Dulwich


Input: when will new tappan zee bridge be completed

Answer: the end of 2018


Input: What region does the area encompassing Washington Township share border with?

Answer: Indiana County


Input: In which decade of the 20th century was the FBI set up?

Answer: 1900s

Answer: 1900s (disambiguation)

Answer: 1900's

Answer: Nineteen-hundreds


Input: who's won the league cup the most

Answer: Liverpool


Input: Who is the child of the director of film Kaala Rathri?

Answer: K. S. G. Venkatesh


Input: What year did the chairman of the Jenkins Commission die?

Answer: 2003


Input: when does perks of being a wallflower take place

Answer: the early 1990s


Input: when did india participate in olympics for first time

Answer: 1900


Input: What is Martin Shapiro's occupation?

Answer: ["screenwriter", "scenarist", "writer", "screen writer", "script writer", "scriptwriter"]


Input: who wrote song say you wont let go

Answer: James Arthur


Input: who does the voices for sofia the first

Answer: Ariel Winter


Input: Are Chah Shirin, Fars and Krasnye Chetai both located in the same country?

Answer: no


Input: Both Corydalis and Cedrus are what level of classification in the naming system?

Answer: genus


Input: Which state was Peggy Lee born in?

Answer: N Dakota

Answer: Dakota del Norte

Answer: Government of North Dakota

Answer: Nodak

Answer: Norse Dakota

Answer: North Dakota (state)

Answer: Transport in North Dakota

Answer: Peace Garden State

Answer: US-ND

Answer: Education in North Dakota

Answer: Thirty-ninth State

Answer: State of North Dakota

Answer: Culture of North Dakota

Answer: Economy of North Dakota

Answer: Flickertail state

Answer: Religion in North Dakota

Answer: The Roughrider State

Answer: North Dakota (USA State)

Answer: North Dakota

Answer: The Flickertail State

Answer: Demographics of North Dakota

Answer: North Dakota, United States

Answer: North Dakota (USA state)

Answer: North dakota

Answer: Thirty-Ninth State

Answer: North Dakota (U.S. state)

Answer: North Dacota

Answer: NoDak

Answer: North Dakota (State)

Answer: North Dakotan

Answer: 39th State

Answer: Transportation in North Dakota

Answer: The Peace Garden State


Input: Cadmium Chloride is slightly soluble in this chemical, it is also called what?

Answer: alcohol


Input: Which European won tennis's 1989 Men's Singles at the US Open?

Answer: Angela Ermakova

Answer: Boris Becker


Input: Who in the singing Jackson family appeared in Different Strokes?

Answer: Janet (disambiguation)

Answer: Janet

Answer: Janeth


Input: who sings don't call us we'll call you

Answer: Sugarloaf.


Input: What is the date of death of Konstantin Kuzakov's father?

Answer: 5 March 1953


Input: What is a song from the 1966 Broadway musical with music by Cy Coleman, lyrics by Dorothy Fields and book by Neil Simon directed and choreographed for Broadway by Bob Fosse starring his wife and muse Gwen Verdon alongside John McMartin, in which  the character of Charity reflects on her marvellous luck as she spends time with Vittorio ?

Answer: If My Friends Could See Me Now


Input: In what city was William Marshall Craig born?

Answer: ["Manchester", "Manchester, England"]


Input: when did we start singing god save the queen

Answer: September 1745


Input: when did pledge of allegiance added under god

Answer: Flag Day in 1954


Input: What is the body of water by the city where Zvezda stadium is located?

Answer: Kama River


Input: When is the director of film Mon Amie Victoria 's birthday?

Answer: 24 December 1964


Input: While both singer-songwriters have displayed incredible talent, what sets Robert Palmer apart from Wayne Coyne, causing him to gain populatiry in two continents?

Answer: eclectic mix of musical styles


Input: In what city was Liz born?

Answer: ["Tarzana", "Tarzana, Los Angeles", "Tarzana, California"]


Input: Are Qeshlaq-E Jafar Qoli and Avdarma both located in the same country?

Answer: no


Input: Write a python function to sort the given string.

Answer:
def sort_String(str) :
    str = ''.join(sorted(str))
    return (str)

assert sort_String("cba") == "abc"
assert sort_String("data") == "aadt"
assert sort_String("zxy") == "xyz"


Input: What is John Scurti's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: Which musical instrument was found in Bonnie & Clyde's car after they were shot?

Answer: Saxamophone

Answer: Neckstrap

Answer: Strich

Answer: Saxaphone

Answer: Neckstrap (Saxophone)

Answer: Stritch (saxophone)

Answer: Saxophone family

Answer: Manzello

Answer: Saxy

Answer: Saxophones

Answer: Conn-o-sax

Answer: Conn-O-Sax

Answer: Saxello

Answer: Saxist

Answer: Saxophonist

Answer: Neck Strap

Answer: Saxphone

Answer: Saxofone

Answer: Saxophone

Answer: Contralto saxophone

Answer: Jazz Tube


Input: Musician and satirist Allie Goertz wrote a song about the "The Simpsons" character Milhouse, who Matt Groening named after who?

Answer: President Richard Nixon


Input: Who won the Oscar for directing It Happened One Night?

Answer: Frank Capra

Answer: Francesco Rosario Capra

Answer: The American Film Institute Salute to Frank Capra

Answer: The american film institute salute to frank capra

Answer: Capraesque

Answer: Francesco Capra

Answer: Lou Capra

Answer: Frank R. Capra


Input: Write a python function to toggle bits of the number except the first and the last bit.

Answer:
def set_middle_bits(n):
    n |= n >> 1;
    n |= n >> 2;
    n |= n >> 4;
    n |= n >> 8;
    n |= n >> 16;
    return (n >> 1) ^ 1
def toggle_middle_bits(n):
    if (n == 1):
        return 1
    return n ^ set_middle_bits(n)

assert toggle_middle_bits(9) == 15
assert toggle_middle_bits(10) == 12
assert toggle_middle_bits(11) == 13


Input: Who was the Egyptian president who was assassinated in 1981?

Answer: Sadat


Input: The era during which the mosaic fell out of fashion started in what area of the continent where the mouth of the Tikhaya Sosna is located?

Answer: seemingly in Italy


Input: Which film came out earlier, In Again, Out Again or Free Willy 3: The Rescue?

Answer: In Again, Out Again


Input: Where was the director of film Clear The Decks born?

Answer: Omaha, Nebraska


Input: when does the next part of the ranch come out

Answer: December 15, 2017


Input: Are the bands "Halestorm" and "Say Anything" from different states?

Answer: yes


Input: What professor of mathematics authored the book Fashionable Nonsense?

Answer: Alan Sokal


Input: Who founded what became the birthplace of the director of Indian Summer?

Answer: Antoine de la Mothe Cadillac


Input: who played the preacher in inherit the wind

Answer: Claude Akins


Input: The word anchorman was credited by Sig Michelson about which CBS News Legend?

Answer: Cronkite, Walter Leland, Jr.

Answer: Old Ironpants

Answer: Walter Cronkite Jr.

Answer: And that's the way it is

Answer: Walter Leland Cronkite, Jr.

Answer: Walter conkrite

Answer: Walter Cronkite

Answer: Walter L. Cronkite Jr.

Answer: Walter Leland Cronkite

Answer: Walter Conkrite

Answer: Walter Leland Cronkite Jr.

Answer: Walter Kronkite


Input: Prior to being shut down for WWII, what was the final thing shown on the channel that aired Hugh and I?

Answer: Mickey's Gala Premier


Input: Stephen Williams is head coach of which Lutheran school located in Adelaide, South Australia?

Answer: Immanuel College


Input: How is seriously rich Percy Miller better known?

Answer: Percy Robert Miller

Answer: Percy R. Miller

Answer: Valentino Miller

Answer: P.R. Miller

Answer: P.Miller

Answer: Valentino (rapper)

Answer: P. Miller

Answer: P. Robert Miller

Answer: Young-V

Answer: Al Capone (Master P album)

Answer: Master P.

Answer: Percy Miller

Answer: Al Capone (mixtape)

Answer: P. Miller (formerly Master P)

Answer: Young V

Answer: Master p

Answer: Master P

Answer: The Ghetto Is Trying to Kill Me!


Input: Between two tennis players Kim Clijsters and Mary Pierce, who is older?

Answer: Mary Pierce


Input: What is Chris Lang's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: How many square miles is the city where Jawaharlal Nehru Stadium is located?

Answer: 16.5 sq mi


Input: who was the first team to win the scottish cup

Answer: Queen's Park


Input: When was the country where the groups not from the United States originated from in The Sing-Off annexed by the United States?

Answer: 1898


Input: In what city was Indians born?

Answer: ["Denmark", "DK", "Danmark", "DNK", "DEK", "dk", "Denmark proper", "metropolitan Denmark", "🇩🇰", "DEN", "TAN", "Realm of Denmark", "Kingdom of Denmark"]


Input: In which county was Sherry Mangan born?

Answer: Essex County


Input: Who is younger, John Oulton or Andrew Demetriou?

Answer: Andrew Demetriou


Input: When did the drinking age change to 21 in the state where Agoston Haraszthy resided?

Answer: September 1, 1986


Input: Write a function to find minimum k records from tuple list.

Answer:
def min_k(test_list, K):
  res = sorted(test_list, key = lambda x: x[1])[:K]
  return (res)


Input: When did the director of film Rathna Manjari die?

Answer: 13 February 1989


Input: What was population of the city where the Dutch retired footballer Foeke Booy born?

Answer: 108,249


Input: how many keys are on microsoft windows standard keyboard

Answer: 104


Input: Who was America's first world chess champion?

Answer: Bobby Fischer (Chess career)

Answer: Fisher's endgame

Answer: Bob Fischer

Answer: Bobby Fischer

Answer: Bobby Fischer (chess career)

Answer: Robert James Fischer

Answer: Bobby Fischer (biography)

Answer: Bobbie fischer

Answer: Regina Wender

Answer: Bobby fischer

Answer: Robert J Fischer

Answer: Bobby Ficsher

Answer: Bobbie Fisher

Answer: Fischer's endgame

Answer: Bobby Fisher

Answer: Robert J. Fischer


Input: Which film actor became mayor of Carmel, California in 1986?

Answer: Crint Eastwood

Answer: Eastwood, Clinton Jr.

Answer: Clinton Eastwood Jr.

Answer: Clinton %22Clint%22 Eastwood, Jr.

Answer: Clinton Eastwood, Jr.

Answer: Francesca Ruth Eastwood

Answer: Clint Eastwood characters

Answer: Clint Eastwood

Answer: Don Runner

Answer: Clint eastwood

Answer: Clinton Eastwood


Input: Where is the continental limit of the continent encompassing Kusunoki Point?

Answer: 60th parallel south


Input: Whose musical works included Composition For Orchestra and Philomel?

Answer: Milton Babbit


Input: where did spain colonize in the new world

Answer: half of South America

Answer: most of Central America

Answer: across the Caribbean Islands


Input: What British man was was wrongly convicted of murdering Jill Dando?

Answer: Barry George


Input: who played sloane in ferris bueller's day off

Answer: Mia Sarapochiello


Input: Javier Mora, is a Mexican boxer in the Heavyweight division, he was defeated by Alexander Vladimirovich "Sasha" Povetkin, by a 5-round TKO, in which country?

Answer: Germany


Input: where does the reed go on a saxophone

Answer: the mouthpiece


Input: When did the distributor of Compromising Positions announce the remastered release of Star Trek for TV?

Answer: July 26, 2007


Input: Who did Martina Navratilova beat to win her ninth Wimbledon title?

Answer: Zina Garrison-Jackson

Answer: Zina Garrison Jackson

Answer: Zina Garrison


Input: Who is the performer of the Fantasy Land Tour 2004, recorded in the birthplace of Barney Cheng?

Answer: S.H.E


Input: Have the people of the country where Ephesus was located held any feeling towards the cloth symbol of the Greeks?

Answer: ethnic tensions with the Turkish Cypriot minority


Input: Panama proclaimed independence in 1903 from which country?

Answer: Columbia

Answer: Columbia (municipality)

Answer: Columbia (song)

Answer: Columbia automobile

Answer: Columbia (yacht)

Answer: Columbia (disambiguation)

Answer: Columbia (town)


Input: How many of the four Grand Slam trophies in tennis are gold; how many are silver?

Answer: Only the Wimbledon trophy is gold; the others--for the U.S. Open, the French Open and the Australian Open--are sliver


Input: What county borders the community of Dean which shares a county with New Germany?

Answer: Colchester County


Input: In what city was Andrea di Alessandro born?

Answer: ["Brescia", "Lioness of Italy"]


Input: When did the author of the The Cloud die?

Answer: 8 July 1822


Input: What is Javad Maroufi's occupation?

Answer: ["composer"]


Input: What is Giuseppe Demachi's occupation?

Answer: ["composer"]


Input: What South Korean sitcom starred a South Korean singer and actress who began her music career at the age of 15?

Answer: The Producers


Input: Write function to find the sum of all items in the given dictionary.

Answer:
def return_sum(dict):
  sum = 0
  for i in dict.values():
    sum = sum + i
  return sum


Input: What was the position held by the person defeating the last song emperor of the country having Rao Shushi?

Answer: Khagan


Input: "Under what assumed name did Oscar Wilde live out the last three years of his life, in ""France?"

Answer: Oscar Wild

Answer: Flahertie

Answer: C. 3. 3. 3

Answer: Oscar Wilde

Answer: O'Flahertie

Answer: C. 3. 3. 3.

Answer: O Wilde

Answer: Oscar O'Flahertie Wills Wilde

Answer: Oscar O'flaherty Wilde

Answer: Oscar wilde

Answer: Sebastian Melmoth

Answer: Oscar Fingal O'Flaherty Wills Wilde

Answer: Theocritus: a villanelle

Answer: Oscar Wilde/Biblio

Answer: Oscar Fingal O'Flahertie Wills Wilde

Answer: Cyril Wilde


Input: What country of origin does Nick Kroll and Get Him to the Greek have in common?

Answer: American


Input: What is the nickname of the host for which "Winner Take All" is best known?

Answer: "Dean of Game Show Hosts"


Input: In what city was Richard S. Bull born?

Answer: ["Wilkinsburg"]


Input: United 300 and 300 were both made in what country?

Answer: American


Input: Yukio Mishima and Roberto Bolaño, are Chilean?

Answer: no


Input: Where did the director of film The Woman Dressed As A Man die?

Answer: Rome


Input: Where did Cecily Of York's father die?

Answer: Westminster


Input: Which film came out first, A Hill In Korea or Ek Anek Aur Ekta?

Answer: A Hill In Korea


Input: In what city was Maarten Biesheuvel born?

Answer: ["Schiedam"]


Input: Where did the director of film Tarzan And The Jungle Boy die?

Answer: Los Angeles


Input: Which soap boasted a cafe called the Hot Biscuit?

Answer: Dallas Fire-Rescue

Answer: Dallas, tx

Answer: Sister cities of Dallas, Texas

Answer: Dallas

Answer: Sister cities of Dallas

Answer: Dallas, TX/Draft

Answer: Dallas, texas

Answer: Dallas, Texas, U.S.A.

Answer: Dallas, Tex.

Answer: Dallas City Council

Answer: Dallas,Texas

Answer: Dallas, Texas/Draft

Answer: Dallas Texas

Answer: History of Dallas, TX

Answer: Dallas, USA

Answer: Dallas TX

Answer: DALLAS

Answer: Dallas, TX

Answer: Dallas, United States

Answer: Dalls

Answer: UN/LOCODE:USDAL

Answer: Dallas (TX)

Answer: Dallas Fire-Rescue Department

Answer: Dallas (AFL)

Answer: Facts on Dallas, TX

Answer: Dallas, Texas, United States of America

Answer: Dallas, Texas, USA

Answer: Dallas (City)

Answer: Dallas, Texas, U.S.

Answer: City of Dallas

Answer: Dallas Fire Department

Answer: The Big D (Texas)

Answer: Dallas, Texas

Answer: City of Dallas, Texas

Answer: Dallas texas

Answer: Dallas (Texas)


Input: Who chaired the ceremony in which the film written by Canet and Philippe Lefebvre won the award for Best Film?

Answer: Isabelle Mergault


Input: Where was the composer of film Pancha Thanthram born?

Answer: Paravoor


Input: What is Albert Bates's occupation?

Answer: ["lawyer", "attorney", "solicitor", "barrister", "lawyers"]


Input: What is Paul Hindemith's occupation?

Answer: ["composer", "concertmaster", "principal violin", "principal violinist", "first chair", "leader"]


Input: Are Sam Earle and Felix Luckeneder from the same country?

Answer: no


Input: Do both films, The Port Of Doom and Big Daddy (1999 Film), have the directors who are from the same country?

Answer: yes


Input: When did the Beatles become popular in the country where helicopters are based in the nation that recently voted to leave an example of a federal union?

Answer: 1963


Input: In what city was Brian Kerwin born?

Answer: ["Chicago", "Chicago, Illinois", "The Windy City", "City by the Lake", "The Queen of the West", "Chi-Town", "Chitown", "The Second City", "City of Chicago", "City of Broad Shoulders", "Chi-Raq", "Chicago, IL"]


Input: In which county is the city Ian Sharman is associated with located?

Answer: Contra Costa County


Input: What is Kyriakos Mavronikolas's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: What is Meg McCall's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Christianity become the official religion of the which foreign group that conquered where this experiment took place in?

Answer: 380


Input: What is the capital of the county where Ebbetts Pass Highlands is located?

Answer: San Andreas


Input: Where did the director of film Avalanche (1928 Film) die?

Answer: Hollywood


Input: In what city was Antonio Calcagni born?

Answer: ["Recanati"]


Input: From 1903 to 1958, every Pope--bar one--took which name?

Answer: Pius

Answer: Pius (disambiguation)


Input: Write a function to extract all the adjacent coordinates of the given coordinate tuple.

Answer:
def adjac(ele, sub = []):
  if not ele:
     yield sub
  else:
     yield from [idx for j in range(ele[0] - 1, ele[0] + 2)
                for idx in adjac(ele[1:], sub + [j])]
def get_coordinates(test_tup):
  res = list(adjac(test_tup))
  return (res)


Input: At which stadium does the team, for which Baltimore's Marching Ravens is the official marching band, play its home games?

Answer: M&T Bank Stadium


Input: "From Eden" is a number 2 song from the Irish Singles Chart that came from what album that was released on September 19th?

Answer: Hozier


Input: Who led the military organization that the Northwestern Front was part of, and made it an effective fighting force?

Answer: Marshal Mikhail Tukhachevsky


Input: In what city was Bastien Lecouffe-Deharme born?

Answer: ["Vannes", "Cité des Vénètes", "Gwened"]


Input: What is the senate of the state where Peter Norbeck is from part of?

Answer: South Dakota State Legislature


Input: Judi Dench won an Oscar as which Queen in Shakespeare in Love?

Answer: The Gloriana

Answer: Queen Elisabeth of england

Answer: Elizabeth the First

Answer: Queene Elisabeth of England

Answer: Bess of England

Answer: Elizabeth I of Ireland

Answer: Queen Elizabeth 1

Answer: Queen Elisabeth I

Answer: Elizabeth I (England)

Answer: Elizabeth I of Great Britain

Answer: Queen of England Elizabeth

Answer: Queen Elizabeth the first

Answer: Queen Elizabeth I of England

Answer: Elizabeth the first

Answer: Elizabeth I of the United Kingdom

Answer: Queen of England Elizabeth I

Answer: QEI

Answer: Elizabeth I

Answer: Queen Elizabeth of England

Answer: Elisabeth 1st

Answer: La Vita della Regina Elizabetta

Answer: Elisabeth I of England

Answer: Elisabeth of England

Answer: Queen Elizabeth the First

Answer: Elizabeth I of England

Answer: Good Queen Bess

Answer: Liz 1

Answer: Virgin Queen

Answer: Elizabeth 1

Answer: Queen Elizabeth l

Answer: Elizabeth of England

Answer: Elizabeth I Tudor

Answer: Elizabeth Tudor

Answer: Elizabeth I, Queen of England

Answer: Elizabeth the 1st

Answer: Queen Elizabeth I

Answer: Elizabeth i of england

Answer: Elisabeth I


Input: Guitars for Wounded Warriors is an album that was recorded in the village in which New York county?

Answer: Ulster County


Input: Fred Mundee attended the public high school that was built in what year?

Answer: 1909


Input: What was Hitchcock's first sound movie?

Answer: Blackmailer

Answer: Blackmailing

Answer: Blackmail

Answer: R v Lawrence and Pomroy

Answer: Blackmailed

Answer: Blackmails

Answer: Black mail


Input: What is Hiroyuki Arai's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: What country holds both Fetteresso Castle and Cowie Castle?

Answer: Scotland


Input: In what city was Doug Gwosdz born?

Answer: ["Houston", "Houston, Texas", "Space City", "H-Town", "City of Houston", "USHOU", "Houston, TX"]


Input: Write a function to find the sequences of one upper case letter followed by lower case letters.

Answer:
import re
def text_uppercase_lowercase(text):
        patterns = '[A-Z]+[a-z]+$'
        if re.search(patterns, text):
                return 'Found a match!'
        else:
                return ('Not matched!')

assert text_uppercase_lowercase("AaBbGg")==('Found a match!')
assert text_uppercase_lowercase("aA")==('Not matched!')
assert text_uppercase_lowercase("PYTHON")==('Not matched!')


Input: Chang Ucchin was born in korea during a time that ended with the conclusion of what?

Answer: World War II


Input: Which President wrote Why England Slept about the rise of Fascism?

Answer: JFK

Answer: J.F.K

Answer: J.F.K. Administration

Answer: Kennedy administration

Answer: JFK (President)

Answer: J.F. Kennedy

Answer: J. F. Kennedy

Answer: John f kennedy

Answer: John fitzgerald kennady

Answer: John Kennedy

Answer: My God, I'm hit

Answer: John F.Kennedy

Answer: Kennedyesque

Answer: JFK administration

Answer: President John F. Kennedy

Answer: Jack Kennedy

Answer: John F Kennedy

Answer: 35th President of the United States

Answer: JF Kennedy

Answer: Kennedy Administration

Answer: President John Kennedy

Answer: John f kenedy

Answer: John F. Kennedy

Answer: J.F.K.

Answer: JFK (president)

Answer: Jfk

Answer: Jhon F Kennedy

Answer: John F. Kennedy and civil rights

Answer: John f. kennedy

Answer: J F Kennedy

Answer: J. F. K.

Answer: John Fitzgerald %22Jack%22 Kennedy

Answer: Camelot era

Answer: John f. kenedy

Answer: John Fitzgerald Kennedy

Answer: Kennedy, John F.

Answer: John f k

Answer: Kennedy era

Answer: President Kennedy

Answer: Early years of john f. kennedy

Answer: John F. %22Jack%22 Kennedy

Answer: J F K

Answer: Eponyms of John F. Kennedy

Answer: U.S. President J.F. Kennedy

Answer: President John F Kennedy

Answer: John F. Kennedie

Answer: Kennedyism

Answer: Senator John F. Kennedy


Input: In what city was Jaime de Angulo born?

Answer: ["Paris", "City of Light", "Paris, France"]


Input: Who is the publisher of They Came to the birthplace of Oday Rasheed?

Answer: Collins Crime Club


Input: In the state where "Careful What You Wish For" was filmed, what is Lone Hickory's county capital?

Answer: Yadkinville


Input: "Which song say, ""The words of the prophet are written on the subway walls?"""

Answer: The Sounds of Silence (song)

Answer: The Sound Of Silence

Answer: Sound of Silence

Answer: The Sound of Silence

Answer: En ton av tystnad

Answer: The Sounds of Silence

Answer: Hello Darkness My old Friend


Input: Who directed a film that included Sarah Manninen?

Answer: Martha Coolidge


Input: What is Gideon Olin's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Which famous name was accused f the abduction of Stompie Seipei?

Answer: Nomzamo Winifred Zanyiwe Madikizela

Answer: Winnie Madikizela-Mandela

Answer: Winnie Mandela

Answer: Nomzano Zaniewe

Answer: Winnie Nomzamo Mandela

Answer: Nomzamo Winnie Mandela

Answer: Mandela, Winnie

Answer: Winnie Madikizela Mandela

Answer: Winnie Madikizela

Answer: Winnifred Mandela


Input: What is James Anderson's occupation?

Answer: ["physician", "physicians", "medical doctor", "medical practitioner", "doctor", "medical doctors"]


Input: Ferihegy international airport is in which country?

Answer: Maďarsko

Answer: Magyarorszag

Answer: Ungarn

Answer: Magyar Köztársaság

Answer: Hungarian Republic

Answer: Hungarian Republic of 1989

Answer: Hongarije

Answer: Hungery

Answer: Architecture of Hungary

Answer: Magyar Koeztarsasag

Answer: Magyarország

Answer: Austrian Empire (Hungary)

Answer: HUNGARY

Answer: Hungría

Answer: Hungray

Answer: ISO 3166-1:HU

Answer: Hongrie

Answer: HUngary

Answer: Republic of Hungary

Answer: Ungheria

Answer: Magyar Koztarsasag

Answer: Hungary

Answer: Hungarian holidays


Input: Silent Möbius is heavily influenced by the movie directed by whom?

Answer: Ridley Scott


Input: Downton is a civil parish in Herefordshire, located in the north of the county and containing the village of Downton-on-the-Rock, in which manuscript record of the "Great Survey" of much of England and parts of Wales completed in 1086, Downton is referred to as "Duntune", meaning "hill settlement"?

Answer: Domesday Book


Input: What is the date of birth of the director of film Pola X?

Answer: 22 November 1960


Input: When does monsoon season end in the state Toney Anaya was governor of?

Answer: mid-September


Input: what is the world record for remembering pi

Answer: Akira Haraguchi


Input: In what city was Rolland Golden born?

Answer: ["New Orleans", "NOLA", "New Orleans, Louisiana", "New Orleans, LA", "The Big Easy", "Crescent City"]


Input: how many episodes in season 1 of the oc

Answer: 27


Input: What was Kevin Kline's first movie?

Answer: Sophie's Choice

Answer: Sophie's Choice (disambiguation)

Answer: Sophies Choice

Answer: Sophie's choice


Input: Who wrote the novel The Go Between?

Answer: L P Hartley

Answer: L. P. Hartley

Answer: Leslie Hartley

Answer: L.P. Hartley

Answer: The past is a foreign country

Answer: Leslie Poles Hartley

Answer: LP Hartley


Input: What is Russell Stokes's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Which has the highest population, Rode island or South Dakota?

Answer: RhodeIsland

Answer: Villages of rhode island

Answer: Rogue's Island

Answer: Rhode Island Treasurer

Answer: Rhode Island (U.S. state)

Answer: Education in Rhode Island

Answer: Rhode Island General Treasurer

Answer: Rhode island agriculture

Answer: Rhode Island and the Providence Plantations

Answer: Demographics of Rhode Island

Answer: Rhode island and providence plantations

Answer: Rhode Island (state)

Answer: State of Rhode Island

Answer: R.I.

Answer: Little Rhody

Answer: Rhode Island Governor's Mansion

Answer: The Ocean State

Answer: Rhode Islanders

Answer: Rhode Islander

Answer: Symbols of Rhode Island

Answer: Transport in Rhode Island

Answer: Villages of Rhode Island

Answer: Rhode Island and Providence Plantations

Answer: R I

Answer: R.i.

Answer: Rhode Island

Answer: Geography of Rhode Island

Answer: Rhode Island Villages

Answer: Religion in Rhode Island

Answer: 13th State

Answer: The State of Rhode Island and Providence Plantations

Answer: Ocean State

Answer: Culture of Rhode Island

Answer: State of Rhode Island and Providence Plantations

Answer: Rode Island

Answer: Rhode Island, United States

Answer: Sports in Rhode Island

Answer: Economy of Rhode Island

Answer: Rhode island

Answer: Transportation in Rhode Island

Answer: Climate of Rhode Island

Answer: Thirteenth State

Answer: US-RI

Answer: Rhode Island cuisine

Answer: RI

Answer: Road Island


Input: An institution like a German Fachhochschule is referred to by what term in the country where Régis Ghesquière died and the country where paintings focused more on textures and surfaces?

Answer: hogeschool


Input: Who won the Best Actor and Best Director Oscar for Dances With Wolves?

Answer: Famous for Killing Each Other: Music from and Inspired By Hatfields & McCoys

Answer: Kevin M. Costner

Answer: Kevin Michael Costner

Answer: The Explorers Guild (TV series)

Answer: The Explorers Guild

Answer: Kevin Kostner

Answer: The Explorers Guild (film)

Answer: Kevin Costner

Answer: The Explorers Guild (franchise)

Answer: List of awards and nominations received by Kevin Costner

Answer: The Explorers Guild (2015 film)

Answer: From Where I Stand (album)

Answer: The Explorers Guild (2014 film)

Answer: Kevin M Costner


Input: when did the rams move to saint louis

Answer: April 12, 1995


Input: Are Tabu Ley Rochereau and Sheldon Rampton of the same nationality?

Answer: no


Input: Write a function to find maximum run of uppercase characters in the given string.

Answer:
def max_run_uppercase(test_str):
  cnt = 0
  res = 0
  for idx in range(0, len(test_str)):
    if test_str[idx].isupper():
      cnt += 1
    else:
      res = cnt
      cnt = 0
  if test_str[len(test_str) - 1].isupper():
    res = cnt
  return (res)

assert max_run_uppercase('GeMKSForGERksISBESt') == 5
assert max_run_uppercase('PrECIOusMOVemENTSYT') == 6
assert max_run_uppercase('GooGLEFluTTER') == 4


Input: What is Julia de Asensi's occupation?

Answer: ["journalist", "journo", "journalists"]


Input: who is the guy who voiced disney channel

Answer: "Buzz" Brainard

Answer: Cameron


Input: who produced it ain't hard to tell

Answer: Large Professor


Input: Who played Aunt Bea on the show named for the actor of the old man in Waiting on a Woman?

Answer: Frances Elizabeth Bavier


Input: Are the bands Put The Rifle Down and The Grace Thrillers, from the same country?

Answer: no


Input: What is the area code for Cincinnati, in the state that has the Cleveland Metroparks Zoo?

Answer: 513


Input: On the border of which two countries is Victoria Falls?

Answer: Zambia and Zimbabwe


Input: What Chicago gang were Charles "Chuckie" Anthony Nicoletti and Salvatore "Mooney Sam" Giancana, better known as Sam Giancana, apart of?

Answer: Outfit


Input: What is Leona Detiège's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: What is Jennifer Jason Leigh's real name?

Answer: Jennifer Morrow


Input: In what city was Reinhard Jirgl born?

Answer: ["East Berlin", "Soviet zone of Berlin", "Berlin-Ost", "Ostberlin", "Soviet sector of Berlin", "Berlin, Hauptstadt der DDR", "Berlin Hauptstadt der DDR"]


Input: What is Kekko Fornarelli's occupation?

Answer: ["composer", "pianist"]


Input: Write a python function to print duplicants from a list of integers.

Answer:
def Repeat(x):
    _size = len(x)
    repeated = []
    for i in range(_size):
        k = i + 1
        for j in range(k, _size):
            if x[i] == x[j] and x[i] not in repeated:
                repeated.append(x[i])
    return repeated


Input: In which country did Argentina first win soccer's World Cup?

Answer: Argentina 1978

Answer: Argentina 78

Answer: 1978 Federation Internationale de Football Association World Cup

Answer: WC 1978

Answer: Argentina (1978)

Answer: 1978 FIFA World Cup

Answer: 1978 World Cup Finals

Answer: Argentina '78

Answer: Football World Cup 1978

Answer: 1978 Football World Cup

Answer: 1978 World Cup

Answer: FIFA World Cup 1978

Answer: World cup 1978

Answer: 1978 Fédération Internationale de Football Association World Cup

Answer: World Cup 1978


Input: Ed Gagliardi, Al Greenwood and Dennis Elliot have all been in which group?

Answer: Foreigner (novel

Answer: Foreigner (novel)

Answer: Foreigner

Answer: The Foreigner

Answer: Foreigners

Answer: Foreigner (disambiguation)

Answer: Foreigner (album)


Input: What subset of the language used almost exclusively for building new information processing systems is employed by Windows?

Answer: WGL-4 with 652 characters


Input: Benji is an upcoming American drama film written, co-produced and directed by who, and is a reboot of the 1974 film of the same name?

Answer: Brandon Camp


Input: What is the county for the city served by WBCO?

Answer: Crawford County


Input: who played bernardo in the movie west side story

Answer: George Chakiris


Input: What is the diocese in the town where CJRI-FM is licensed?

Answer: Anglican Church of Canada


Input: who narrated the old man and the sea

Answer: Spencer Tracy


Input: Are Lucas Tirigall Caste and Naphtali Hirz Wessely both from the same country?

Answer: no


Input: Who was the third wife of the leader of China's Long March?

Answer: 李淑蒙

Answer: 蓝苹

Answer: 江青

Answer: Lan P'ing

Answer: Madam Mao

Answer: Jiang Qing

Answer: Jiang Cing

Answer: Chiang Ching

Answer: Li Yun-ho

Answer: 李润青

Answer: Lan Ping

Answer: Jiāng Qīng

Answer: Li Shumeng

Answer: Ching Chiang

Answer: Li Yunhe

Answer: 李云鹤

Answer: Madame Mao

Answer: 无产阶级文艺伟大旗手

Answer: Jiang Ching

Answer: 李潤青

Answer: 李雲鶴

Answer: Chiang Ch'ing

Answer: Tschiang Tsching

Answer: Qing Jiang

Answer: Li Runqing

Answer: Ching chiang


Input: Were both Sharm Scheuerman and Sixten Sild, born in the same place?

Answer: no


Input: What is Steve Tom's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: What was the first year in which a men's team played basketball at the university Clay Christiansen attended?

Answer: 1898


Input: What is the new tallest building in the city where the RSA Security Conference was held?

Answer: Salesforce Tower


Input: What is Charles Strachey, 4th Baron O'Hagan's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: The speaker of whom the priminister of india is responsible to is elected by what?

Answer: members of the Lok Sabha


Input: Who was President Reagan's Secretary for Defense from 1987 to 1989?

Answer: Frank Charles Carlucci

Answer: Frank Charles Carlucci, III

Answer: Frank Carlucci

Answer: Frank Carlucci III

Answer: Frank C. Carlucci

Answer: Frank C. Carlucci III

Answer: Frank Charles Carlucci III


Input: What was Bette Davis's real first name?

Answer: Ruth (crater)

Answer: Ruth

Answer: Ruth (disambiguation)

Answer: Ruthian

Answer: Ruthie


Input: where was the airport scene in dumb and dumber filmed

Answer: Salt Lake City International Airport


Input: The mangalyaan of the country where Goa is located was sent to the planet where Padus Vallis is located by launching what?

Answer: a Polar Satellite Launch Vehicle (PSLV) rocket C25


Input: What was John Huston's last movie?

Answer: The Dead (1987 movie)

Answer: The dead

Answer: The Dead (film)

Answer: The Dead (disambiguation)

Answer: The Dead


Input: What is Edgar Allan Poe's occupation?

Answer: ["journalist", "journo", "journalists", "playwright", "dramatist", "playwrite", "scriptwriter", "poet", "poetess", "bard"]


Input: In what city was Fahd Ananta born?

Answer: ["Dhaka", "Dacca", "Dhaka City"]


Input: Write a function to check if the string is a valid email address or not using regex.

Answer:
import re
regex = '^[a-z0-9]+[\._]?[a-z0-9]+[@]\w+[.]\w{2,3}$'
def check_email(email):
	if(re.search(regex,email)):
		return ("Valid Email")
	else:
		return ("Invalid Email")

assert check_email("ankitrai326@gmail.com") == 'Valid Email'
assert check_email("my.ownsite@ourearth.org") == 'Valid Email'
assert check_email("ankitaoie326.com") == 'Invalid Email'


Input: Are director of film Zamaana Deewana and director of film The Last Attraction from the same country?

Answer: no


Input: Who is the spouse of the director of film Henry Goes Arizona?

Answer: Ann Morriss


Input: What is the date of birth of the director of film South Of The Border (1939 Film)?

Answer: July 14, 1908


Input: Who is an American journalist and has been Literary Editor of "The Weekly Standard,",  Philip Terzian or Derek Sherinian

Answer: Philip Henry Terzian


Input: Who was the Egyptian king whose tomb an treasures were discovered in the Valley of the Kings in 1922?

Answer: King Tut

Answer: Tutanhamon

Answer: Tutankamun

Answer: Tutankhamen

Answer: Nebkheprure

Answer: Tut-Anj-Amon

Answer: King Tutankhamun

Answer: Tutankhaten

Answer: Tutankamen

Answer: King tut

Answer: Tutankhaumen

Answer: Tutenkhamun

Answer: King Tut's Death

Answer: Tut-ankh-amun

Answer: Tutankhamen's Death Mask

Answer: Tutankamon

Answer: Kingtut

Answer: Tutenkamen

Answer: Living Image of Amun

Answer: Tutankhamum

Answer: Tutankhamun

Answer: Come on, Tutan

Answer: Tuthankamun

Answer: Tut Anj Amon

Answer: Tutankhaton

Answer: King Tutankhamen

Answer: Pharaoh Tutankhamun

Answer: The Boy King

Answer: Living Image of Aten

Answer: Tutankhamon

Answer: Tuthankamen

Answer: Nebkheperure Tutankhamun

Answer: Tutenkhamen

Answer: Nebkheperure

Answer: Tutankhanum


Input: Which Club featured in cabaret?

Answer: Kit-Kat

Answer: Kit Kat Chunky

Answer: Kit Kat Senses

Answer: KitKat

Answer: Kit Kat Duo

Answer: Kit-kats

Answer: Kit kat

Answer: Chocolate Crisp

Answer: Kitkat

Answer: Kit kat duo

Answer: Kit Kat

Answer: Rowntree's Chocolate Crisp


Input: Write a python function to find the sum of all odd length subarrays.

Answer:
def Odd_Length_Sum(arr):
    Sum = 0
    l = len(arr)
    for i in range(l):
        Sum += ((((i + 1) *(l - i) + 1) // 2) * arr[i])
    return Sum

assert Odd_Length_Sum([1,2,4]) == 14
assert Odd_Length_Sum([1,2,1,2]) == 15
assert Odd_Length_Sum([1,7]) == 8


Input: Which great guitarist had the first names Aaron Thibodaux?

Answer: T–Bone Walker

Answer: T Bone Walker

Answer: Aaron Thibeaux Walker

Answer: T. Bone Walker

Answer: T-bone Walker

Answer: Aaron T-Bone Walker

Answer: T-Bone Walker


Input: What is Jacob Kraemer's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: What is John Williams Tobey's occupation?

Answer: ["architect"]


Input: when was the internet invented for home use

Answer: the late 1980s


Input: Are Sang-E Vares and Ganjgah both located in the same country?

Answer: yes


Input: Who directed the 2004 film that featured "Más" by Kinky?

Answer: Tony Scott


Input: What is the date of birth of the director of film You'Re My Everything (Film)?

Answer: August 10, 1896


Input: Write a function to check if each element of the second tuple is greater than its corresponding index in the first tuple.

Answer:
def check_greater(test_tup1, test_tup2):
  res = all(x < y for x, y in zip(test_tup1, test_tup2))
  return (res)

assert check_greater((10, 4, 5), (13, 5, 18)) == True
assert check_greater((1, 2, 3), (2, 1, 4)) == False
assert check_greater((4, 5, 6), (5, 6, 7)) == True


Input: cities in washington state that start with o

Answer: Ocean Shores

Answer: Oak Harbor

Answer: Orting

Answer: Othello

Answer: Olympia

Answer: Oroville

Answer: Okanogan

Answer: Omak

Answer: Oakville


Input: What is Charles Martin Smith's occupation?

Answer: ["film director", "movie director", "director", "motion picture director", "actor", "actress", "actors", "actresses"]


Input: Where was the composer of film The Young Magician (Film) born?

Answer: Wałbrzych


Input: Who is the finance minister of Balavant Apte's birthplace?

Answer: Sudhir Mungantiwar


Input: Write a function to count those characters which have vowels as their neighbors in the given string.

Answer:
def count_vowels(test_str):
  res = 0
  vow_list = ['a', 'e', 'i', 'o', 'u']
  for idx in range(1, len(test_str) - 1):
    if test_str[idx] not in vow_list and (test_str[idx - 1] in vow_list or test_str[idx + 1] in vow_list):
      res += 1
  if test_str[0] not in vow_list and test_str[1] in vow_list:
    res += 1
  if test_str[-1] not in vow_list and test_str[-2] in vow_list:
    res += 1
  return (res)

assert count_vowels('bestinstareels') == 7
assert count_vowels('partofthejourneyistheend') == 12
assert count_vowels('amazonprime') == 5


Input: Which character did Burt Reynolds play in Evening Shade?

Answer: Wood Newton


Input: What sport did Jack Sock and Raffaella Reggi play?

Answer: tennis


Input: Where was the director of film Two Tickets To London born?

Answer: Jersey City


Input: What is the place of birth of the director of film Uptown Girls?

Answer: New York


Input: Who wrote Riders of the Purple Sage?

Answer: Zane Gray

Answer: Zane Grey Western Classics

Answer: Pearl Zane Gray

Answer: Zane Grey

Answer: Pearl Zane Grey


Input: Who has won more Grand Slam doubles titles, Elizabeth Smylie or Vasek Pospisil?

Answer: Elizabeth Smylie


Input: What is Rudolf Hilferding's occupation?

Answer: ["economist", "economists", "politician", "political leader", "political figure", "polit.", "pol"]


Input: What year was the series published that recounts the adventures of Anne Shirley and published by Scholastic Press?

Answer: 1908


Input: What is Shelley Wark-Martyn's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: "Let Me Out" is a song released as the fifth single from what band's fifth studio album "Humanz" which was recorded in London, Paris, New York City, Chicago, and Jamaica ?

Answer: alternative rock virtual band Gorillaz


Input: What is Harvey William Burk's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Write a function to remove duplicate words from a given list of strings.

Answer:
def remove_duplic_list(l):
    temp = []
    for x in l:
        if x not in temp:
            temp.append(x)
    return temp

assert remove_duplic_list(["Python", "Exercises", "Practice", "Solution", "Exercises"])==['Python', 'Exercises', 'Practice', 'Solution']
assert remove_duplic_list(["Python", "Exercises", "Practice", "Solution", "Exercises","Java"])==['Python', 'Exercises', 'Practice', 'Solution', 'Java']
assert remove_duplic_list(["Python", "Exercises", "Practice", "Solution", "Exercises","C++","C","C++"])==['Python', 'Exercises', 'Practice', 'Solution','C++','C']


Input: Write a function to find the area of a rombus.

Answer:
def rombus_area(p,q):
  area=(p*q)/2
  return area

assert rombus_area(10,20)==100
assert rombus_area(10,5)==25
assert rombus_area(4,2)==4


Input: The weapon BFG is found in which game developed by id Software ?

Answer: Doom


Input: when was bring it on fight to the finish filmed

Answer: 2009


Input: Write a function to perform chunking of tuples each of size n.

Answer:
def chunk_tuples(test_tup, N):
  res = [test_tup[i : i + N] for i in range(0, len(test_tup), N)]
  return (res)


Input: "Who uttered the famous line ""Frankly my dear I don't give a damn?"

Answer: ClarkGable

Answer: Clarke Gabel

Answer: Gable, Clark

Answer: Clarke Gable

Answer: Clark Gable


Input: who is the servant through whom allah provided the quran

Answer: Muhammad


Input: Who beat the player that won the 2017 Australian men's open tennis single title in the US open?

Answer: Novak Djokovic


Input: What author has contributed to such works as "New Statesmen", "The Nation", and "The Atlantic", among others, while also being being associated with Dysteleology?

Answer: Christopher Hitchens


Input: Oliver Boot had a role in the Moliere-based film that was first performed in what year?

Answer: 1664


Input: Jimmy Smith played for a team that won the Champions League under which manager?

Answer: Roberto Di Matteo


Input: Which airport is closer to Cleaveland, Ohio, Luis Muñoz Marín International Airport or Rickenbacker International Airport?

Answer: Rickenbacker International Airport


Input: Are the movies God'S House (Film) and Natural Selection (2011 Film), from the same country?

Answer: yes


Input: when did the british take over cape colony

Answer: 1795

Answer: 1806


Input: The Crocs River is a tributary of a river given what nickname?

Answer: "Rhine of North America"


Input: Who is this retired American politician who was a U. S. representative of Oklahoma's 2nd Congressional District whom Oklahoma politician Jim Wilson ran against during the July 27 Democratic primary?

Answer: Dan Boren


Input: who played ellie walker on andy griffith show

Answer: Elinor Donahue


Input: In what city was Tony Shields born?

Answer: ["Strabane", "Straban", "An Srath Bán", "An Srath Ban"]


Input: What position did football great Jim Brown play?

Answer: Full Back

Answer: Full-back (rugby)

Answer: Fullback (rugby)

Answer: Full back

Answer: Fullback

Answer: Fullback (football)

Answer: Full back (football)

Answer: Full-back

Answer: Full Back (football)

Answer: Fullback (disambiguation)

Answer: Full back (rugby)


Input: Which album was said to have reflected the end of Bob Dylan's marriage?

Answer: You're Gonna Make Me Lonesome When You Go

Answer: Blood on the Tracks (Bob Dylan album)

Answer: Bob Dylan/Blood On The Tracks

Answer: Blood On the Tracks

Answer: Blood On The Tracks

Answer: Blood on the tracks

Answer: Blood on the Tracks


Input: What is Esquerita's occupation?

Answer: ["pianist", "songwriter", "song writer"]


Input: What is Petr Mlsna's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Who has more scope of profession, Richard Ford or Robert E. Howard?

Answer: Richard Ford


Input: Where did hurricane Maria hit the country where Luis Villafañe is from?

Answer: just south of Yabucoa


Input: Where was the director of film Stage Fright (1950 Film) born?

Answer: Leytonstone


Input: When did the composer of film Andru Kanda Mugam die?

Answer: 21 June 2001


Input: Write a python function to calculate the sum of the numbers in a list between the indices of a specified range.

Answer:
def sum_Range_list(nums, m, n):
    sum_range = 0
    for i in range(m, n+1, 1):
        sum_range += nums[i]
    return sum_range


Input: What is Alexander Gadolin's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Were the documentaries The Mosuo Sisters and Quantum Hoops released in the same year?

Answer: no


Input: In what city was Michelle Renaudddd born?

Answer: ["Mexico City", "Mexico D.F.", "Ciudad de México", "City of Mexico", "Mexico City, Mexico", "CDMX", "Mexico"]


Input: Which film has the director who died first, Naseeb (1981 Film) or Fighting Trooper?

Answer: Fighting Trooper


Input: What is the population of the state where the K-27 highway is located?

Answer: 2,913,123


Input: Daniel Heartz is an American musicologist and Professor emeritus of Music at which public research university located in Berkeley, California?

Answer: University of California, Berkeley


Input: Are both Dowlatabad-E Qeysariyeh and Duzan located in the same country?

Answer: yes


Input: What is the city that Victor Estrada was born in officially know as?

Answer: Heroica Matamoros


Input: Where is New York's Empire State College located?

Answer: Saratoga Springs, New York

Answer: Saratoga Springs

Answer: Saratoga Springs, NY

Answer: UN/LOCODE:USSGA

Answer: Saratoga Springs (NY)

Answer: Maple Avenue Middle School


Input: What is the place of birth of Abdullah Ibn Hasan's father?

Answer: Medina


Input: What nationality is the director of film Porky'S Revenge!?

Answer: American


Input: Who was born first, Madhukar Vasudev Dhond or Abdallah Al-Ajmi?

Answer: Madhukar Vasudev Dhond


Input: Which film has the director who is older than the other, Oh, Kay! (Film) or The Rose Bowl Story?

Answer: The Rose Bowl Story


Input: who performs the secretarial duties for the states of massachusetts pennsylvania and virginia

Answer: Pedro Cortés

Answer: William Galvin

Answer: Kelly Thomasson


Input: Write a function to rotate a given list by specified number of items to the right direction.

Answer:
def rotate_right(list1,m,n):
  result =  list1[-(m):]+list1[:-(n)]
  return result


Input: What is George Birnie Esslemont's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Who does the star playing eva peron in the movie evita play in a league of their own?

Answer: taxi dancer ``All the Way ''Mae Mordabito


Input: What is Sarah Dawn Finer's occupation?

Answer: ["actor", "actress", "actors", "actresses", "songwriter", "song writer"]


Input: who won the presidential election 2018 in zimbabwe

Answer: incumbent President Emmerson Mnangagwa


Input: What is Benjamin Mount's occupation?

Answer: ["record producer", "music producer"]


Input: Which film whose director was born first, Sorority House Massacre Ii or Faces In The Fog?

Answer: Faces In The Fog


Input: Where did the director of film Detective (1954 Film) die?

Answer: Buenos Aires


Input: How long is the river on which Wilbur Dam is located?

Answer: 78.5 mi


Input: What is Thandiswa Mazwai's occupation?

Answer: ["songwriter", "song writer"]


Input: Which star of Gypsy and West Side Story married Robert Wagner twice?

Answer: Nathalie Wood

Answer: Wood, Natalie

Answer: Natalie Wood

Answer: Natasha Gurdin

Answer: Natalie Wagner

Answer: Natalia Nikolaevna Zakharenko


Input: when is the last time a total eclipse happened in the us

Answer: August 21, 2017


Input: When was a free-travel area created between Ireland and the country where the After the Morning performer had citizenship?

Answer: 1997


Input: Were Dallin Malmgren and A.B.M. Fazle Karim Chowdhury of the same nationality?

Answer: no


Input: Chris Vance, is an English actor, and is the second actor after which English actor, and a former model and competitive diver, to play Frank Martin?

Answer: Jason Statham


Input: Are both villages, Vukpalaj and Ano Lechonia, located in the same country?

Answer: no


Input: What is Claire Berlinski's occupation?

Answer: ["journalist", "journo", "journalists"]


Input: Are both McLeod River (British Columbia) and Waikare River (Northland) located in the same country?

Answer: no


Input: What is the cause of death of director of film Road Kill (2010 Film)?

Answer: cancer


Input: What network first aired the show where Lydia Brandner was from?

Answer: Das Erste


Input: when did they start drafting for the vietnam war

Answer: December 1, 1969


Input: Is Advanced Micro Devices or Level 3 Communications headquartered further west?

Answer: Advanced Micro Devices


Input: What actress starred with James Franco in Palo Alto and played Kristina Jung in "Blow"?

Answer: Emma Roberts


Input: who is the president of the united states 2016

Answer: Barack Obama

Answer: Donald Trump


Input: Sojourners and KO Magazine share what publication format?

Answer: magazine


Input: Where was the director of film Aap Ke Saath born?

Answer: Sialkot


Input: Between the two musicians, Peter Garrett and Ryo Kawakita, who has had more diverse job experiences?

Answer: Peter Robert Garrett


Input: Who was the star of the dark thriller 8mm?

Answer: Weston Coppola

Answer: Nicolas Cage

Answer: Eyes of Noctum

Answer: NicolasCage

Answer: Nic Coppola

Answer: Nic Cage

Answer: Nicolas cage

Answer: Nicholas Cage

Answer: Nicolas Coppola

Answer: Nicholas cage

Answer: Nick Cage

Answer: Nicholas Coppola

Answer: List of awards and nominations received by Nicolas Cage

Answer: Dan Edmunds

Answer: Nicolas Kim Coppola

Answer: Weston Cage

Answer: Cage, Nicholas

Answer: Nouveau Shamanic

Answer: Weston Coppola Cage


Input: What is Paul Lieber's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: Is Children's National Medical Center or MedStar Washington Hospital Center the largest private hospital in Washington, D.C.?

Answer: MedStar Washington Hospital Center


Input: According to the 2006 census what is the population of the city in which James Iroha Uchechukwu was born ?

Answer: 722,664


Input: What state are both Wizzo and YG based in?

Answer: California


Input: when did the wichita state football team plane crash

Answer: October 2, 1970


Input: Are Hugh Gough, 1St Viscount Gough and David Douglas (Wide Receiver) of the same nationality?

Answer: no


Input: What does MG sand for in Booker T & The MG's?

Answer: Memphis style

Answer: Memphis design

Answer: Memphis Style

Answer: Memphis movement

Answer: Memphis Group

Answer: Memphis (design group)


Input: General Boris Gromov was the last Soviet soldier to leave where in 1989?

Answer: Afghanistan

Answer: Avghanistaun

Answer: Soviet-occupied Afghanistan

Answer: Afganhistan

Answer: Afghanestan

Answer: Jomhūrī-ye Eslāmī-ye Afġānestān

Answer: Afghanastan

Answer: Afeganistao

Answer: Afgjanistan

Answer: Afghanistan/Article from the 1911 Encyclopedia

Answer: AfghanistaN

Answer: Afghanistan, Rep. of.

Answer: Afganistan

Answer: Afghanistan-Central Asia

Answer: Afghanistan (1911 Encyclopedia)

Answer: Afghansitan

Answer: Afgahanistan

Answer: IROA

Answer: Kinetic action

Answer: A-Stan

Answer: Afghanstan

Answer: Afğānistān

Answer: AFGHANISTAN

Answer: Afghānistān

Answer: I.R.O.A.

Answer: Islamic Republic of Afghanistan

Answer: Dowlat-e Eslami-ye Afghanestan

Answer: افغانستان

Answer: Afghinastan

Answer: The Graveyard of Empires

Answer: Affghanistan

Answer: Afghanistan, I.S. of

Answer: Etymology of Afghanistan

Answer: The Islamic Republic of Afghanistan

Answer: Islamic Transitional Government of Afghanistan

Answer: ISO 3166-1:AF

Answer: Afghnistan

Answer: د افغانستان اسلامي دولت دولت اسلامی افغانستان

Answer: Da Afġānistān Islāmī Jomhoriyat

Answer: Da Afghanistan Islami Dawlat Dawlat-e Eslami-e Afghanestan


Input: What is Jaclyn Stapp's occupation?

Answer: ["model", "fashion model", "sitter", "poser"]


Input: In what city was Louis-Arsène Lavallée born?

Answer: ["Berthierville"]


Input: Neil Armstrong was a pilot in which war?

Answer: Corean

Answer: Koreans (disambiguation)

Answer: Korean (disambiguation)

Answer: Koreang

Answer: Korean

Answer: Korea'ng


Input: Which tough guy played Mr. Freeze in Batman & Robin?

Answer: Arnold Schwartzennegger

Answer: Arnold schwarzenegger

Answer: Arnold scharzenegger

Answer: Arnold Swarzenegger

Answer: Schwarzenegger, Arnold Alois

Answer: Schwarzy

Answer: Arnold Schwarznegger

Answer: Arnold S

Answer: Bodybuilding competitions featuring arnold schwarzenegger

Answer: Ahnold

Answer: Arnold Schwartzenegger

Answer: Swartzinager

Answer: Schwarzzenegger

Answer: Arnold Schwarshenegger

Answer: Mildred Baena

Answer: Arnold A Schwarzenegger

Answer: Schwarzennegger

Answer: Arnold Schwarznigger

Answer: Unknown Soldier (2015 film)

Answer: Schwarzeneggar

Answer: Arnold Alois Schwarzenegger

Answer: Arnold Strong

Answer: Arnold Schwarzenegger

Answer: Arnold shwarzeneger

Answer: Schwarzenneger

Answer: Govenator

Answer: Bodybuilding competitions featuring Arnold Schwarzenegger

Answer: Arnold Schwarzennegar

Answer: Arnold Swartzeneger

Answer: Arnold Schwartzinager

Answer: Governator

Answer: Arnold: The Education of a Bodybuilder

Answer: Schwarznegger

Answer: Awnald

Answer: Arnold Schwazeneger

Answer: Arnold swarzenager

Answer: Arnold Schwarzanegger

Answer: Schawartzenegger

Answer: Arnold Schwarzeneger

Answer: Big Arnie

Answer: Gov. Schwarzenegger

Answer: Arnold Swartznegger

Answer: Styrian Oak

Answer: Schwarzeneger

Answer: Arnold Shvartsneger

Answer: Arnold swarchnegger

Answer: The Austrian Oak

Answer: Ah-nuld

Answer: Arnold Schwarzennagger

Answer: Arnold Swarchenegger

Answer: Arnold Scwarzenegger

Answer: Meinhard Schwarzenegger

Answer: Arnold S.

Answer: Schwazenegger

Answer: Arnold Swarzenneger

Answer: Schwarzie

Answer: Arnold A. Schwarzenegger

Answer: Governor Arnold

Answer: Arnold Schwartzeneggar

Answer: Arnold Schwarzenneger

Answer: Arnold Schwarzenegger's infidelity

Answer: Arnold Schwarzennegger

Answer: Arnold: the Education of a Body-Builder

Answer: Ahnuld

Answer: Arnold Swarzeneger

Answer: Arnold Swartzennegger

Answer: Schwarzenegger

Answer: Arnold Schwarzeneggar

Answer: Arnold shwarseneger

Answer: Conan the Republican

Answer: Schwarzenegger, Arnold

Answer: Arnold Swarzennegger

Answer: שוורצנגר

Answer: Arnold Schwarzineger

Answer: Arnold Swartzenegger

Answer: Arnold shwarsenegger

Answer: Governor Schwarzenegger

Answer: Arnold Swartzenneger

Answer: Schwarzzeneger

Answer: The Styrian Oak

Answer: Arnold schwartzenager

Answer: Schwarzzennegger

Answer: Schwartzenegger

Answer: Arnold shwarzenegger

Answer: Govenor Arnold Schwarzenegger

Answer: Joseph Baena


Input: The sauce that fills a BiFi Carazza is referred to as what by Italians?

Answer: Salsa di pomodoro


Input: Atoms for Peace are an English-American experimental rock supergroup comprising Radiohead singer Thom Yorke, is an English musician and composer, best known as the singer and principal songwriter of which band?

Answer: Radiohead


Input: 13 reason why season 2 episode 1 release date

Answer: May 18, 2018


Input: who is the presiding officer of the house of reps

Answer: Paul Ryan


Input: Write a function to replace all spaces in the given string with character * list item * list item * list item * list item '%20'.

Answer:
MAX=1000;
def replace_spaces(string):
  string=string.strip()
  i=len(string)
  space_count=string.count(' ')
  new_length = i + space_count*2
  if new_length > MAX:
    return -1
  index = new_length-1
  string=list(string)
  for f in range(i-2, new_length-2):
    string.append('0')
  for j in range(i-1, 0, -1):
    if string[j] == ' ':
      string[index] = '0'
      string[index-1] = '2'
      string[index-2] = '%'
      index=index-3
    else:
      string[index] = string[j]
      index -= 1
  return ''.join(string)

assert replace_spaces("My Name is Dawood") == 'My%20Name%20is%20Dawood'
assert replace_spaces("I am a Programmer") == 'I%20am%20a%20Programmer'
assert replace_spaces("I love Coding") == 'I%20love%20Coding'


Input: how many places did the israelites camp in the wilderness

Answer: 42


Input: After the Roman Empire ended, what happened to the British Isles and the continent being the first leg of Queen's mid 2000s tour with Electric's performer?

Answer: the Dark Ages


Input: In what city was James Keddy born?

Answer: ["Dublin", "Dublin city", "City of Dublin", "Baile Átha Cliath"]


Input: Who played Briscoe Darling on the show named for the actor who played the title role on the show Matlock?

Answer: actor Denver Pyle


Input: What was Sean Penn's first movie?

Answer: Butterfield's Lullaby

Answer: Taps

Answer: Taps (bugle call)


Input: In what city was Donald De Lue born?

Answer: ["Boston", "Beantown", "The Cradle of Liberty", "The Hub", "The Cradle of Modern America", "The Athens of America", "The Walking City", "The Hub of the Universe", "Bostonia", "Boston, Massachusetts", "Boston, MA", "Boston, Mass.", "Puritan City"]


Input: who was the first captain of pakistan cricket team

Answer: Abdul Hafeez Kardar


Input: Do both directors of films Mission: Impossible III and The Money Changers have the same nationality?

Answer: yes


Input: South Somercotes is a village and civil parish 8 mi north-east from Louth and approximately 2 mi south from which coastal village in the East Lindsey district, and the Marshes area, of Lincolnshire, England?

Answer: North Somercotes


Input: In what city was Aleksandr Nekrasov born?

Answer: ["Moscow", "Moskva", "Moscow, Russia", "Moskva Federal City, Russia", "Moscow, USSR", "Moskva, Russia", "City of Moscow", "Moscow, Russian Federation", "Moscow, Soviet Union", "Moscow, Russian SFSR", "Muscovite", "Moscovite"]


Input: what body of water does niagara falls flow into

Answer: Niagara River


Input: "Which US First Lady said, ""No one can make you feel interior unless you consent?"""

Answer: Eleanor Roosevelt

Answer: Elenor Roosevelt

Answer: Eleonore Roosevelt

Answer: Eleanor: The Lonely Years

Answer: Eleanor roosevelt

Answer: Eleonor Roosevelt

Answer: Anna Eleanor Roosevelt, Sr.

Answer: Anna Eleanor Roosevelt Roosevelt

Answer: Anna Eleanor %22Eleanor%22 Roosevelt

Answer: Anna Eleanor Roosevelt

Answer: Elanor roosevelt

Answer: Eleanore Roosevelt


Input: what is the name of a group of llamas

Answer: herd


Input: Who interviewed Dudley Moore about his illness in November 1999?

Answer: Barbara Walters

Answer: Barbara Walters Special

Answer: Babwa Wawa

Answer: Barbara Jill Walters

Answer: Baba Wawa

Answer: Lou Walters

Answer: Walters, Barbara

Answer: How to Talk with Practically Anybody about Practically Anything


Input: In what city was Kevin Morton born?

Answer: ["Norwalk", "Norwalk, Connecticut", "Norwalk, CT"]


Input: Device – Voice – Drum is the fourth live album by a band that produced how many gold albums?

Answer: eight


Input: Who is the uncle of Phila (Daughter Of Antipater)?

Answer: Cassander


Input: What is a 2011 British action comedy film parodying the James Bond secret agent genre, that features a song by the band Primal Scream?

Answer: Johnny English Reborn


Input: What is Olivier Alary's occupation?

Answer: ["composer"]


Input: Who was Theodore Roosevelt's Vice President between 1905 and 1909?

Answer: Charles W. Fairbanks

Answer: Charles Warren Fairbanks

Answer: Charles Fairbanks


Input: When was Baron Alphons Von Pawel-Rammingen's wife born?

Answer: 9 January 1848


Input: When did the company that produced "Six Gates Far Away Mon Colle Knight" begin?

Answer: in 1986


Input: when written in morse code i am represented by a dot dash and another dot

Answer: , r


Input: What is the name of the airport in the city where District 3 is located?

Answer: Tân Sơn Nhất International Airport


Input: when is the premiere of game of thrones season 7

Answer: July 16, 2017


Input: what was the number one song on august 31st 2017

Answer: Despacito


Input: who invented the first gear driven calculating machine

Answer: Wilhelm Schickard


Input: Who is older, Zhang Zongchang or Marianne Rokne?

Answer: Zhang Zongchang


Input: What did Woody Allen call his son as a tribute to Louis 'Satchmo' Armstrong?

Answer: School satchel

Answer: Satchel (bag)

Answer: Satchel


Input: The expert mentor to the celebrities that perform on "Splash!" won the 2009 FINA World Championionship in the individual event at what age?

Answer: 15


Input: What nationality is the director of film Kadvi Hawa?

Answer: India


Input: Are Braque d'Auvergne and Griffon Fauve de Bretagne both breeds originating in France ?

Answer: yes


Input: who won australia's got talent 2011 winner

Answer: Jack Vidgen


Input: Who was born first out of Shane O'Connor (Skier) and Ray Hicks?

Answer: Ray Hicks


Input: Are both Gerald Berragan and Pol Verschuere from the same country?

Answer: no


Input: Which American singer-songwriter known as "the Caruso of Rock", recorded on the Monument Records label and had hits such as "Pretty One," and "Uptown"?

Answer: Roy Orbison


Input: Which spin-off from a 60s sitcom was a 1999 movie with Jeff Daniels and Christopher Lloyd?

Answer: Tim O'Hara

Answer: My favourite martian

Answer: My Favorite Martians

Answer: Uncle Martin

Answer: My Favourite Martian

Answer: My Favorite Martian


Input: What is the name of the latest version of the OS X operating system by the iPod producer?

Answer: macOS


Input: When was Bantu education introduced in the country where Carolyn Lilipaly was born?

Answer: 1 January 1954


Input: Write a python function to count the number of distinct power of prime factor of given number.

Answer:
def count_Fac(n):
    m = n
    count = 0
    i = 2
    while((i * i) <= m):
        total = 0
        while (n % i == 0):
            n /= i
            total += 1
        temp = 0
        j = 1
        while((temp + j) <= total):
            temp += j
            count += 1
            j += 1
        i += 1
    if (n != 1):
        count += 1
    return count

assert count_Fac(24) == 3
assert count_Fac(12) == 2
assert count_Fac(4) == 1


Input: Did André Hakim and Harry Hartsell have the same nationality?

Answer: no


Input: Write a python function to find the average of a list.

Answer:
def Average(lst):
    return sum(lst) / len(lst)


Input: night at the museum 3 ben stiller characters

Answer: Laaa

Answer: Larry Daley


Input: What is Frederick Dundas's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Who was the director of the 2001 American romantic comedy film written by Marc Klein in which Lucy Gordon had a small role?

Answer: Peter Chelsom


Input: Which record label owns the series where Achy Jakey Heart belongs?

Answer: Walt Disney Records


Input: Which film whose director was born first, Mad Dog Time or Seclusion Near A Forest?

Answer: Seclusion Near A Forest


Input: In what city was Belly born?

Answer: ["Jenin"]


Input: What is the meaning of Trevor Prangley's other division the fought in aside from Light Weight?

Answer: refers to different weight classes


Input: when did the san fernando valley try to secede from los angeles

Answer: 2002


Input: When does the academic year start in the country where Engkeranji settlement is located?

Answer: in early January


Input: who has won the boat race more times

Answer: Cambridge


Input: what is the highest point in the state where Holland Smith was born?

Answer: Cheaha Mountain


Input: who played the mother on the partridge family

Answer: Shirley Mae Jones


Input: how many cities of refuge were the israelites to form

Answer: six


Input: Where was the father of Philipp, Duke Of Saxe-Merseburg-Lauchstädt born?

Answer: Dresden


Input: What is Robert Gwilym's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: The Colombian airline that has been the national airline and flag carrier of Colombia since 1919 is wholly owned by a company headquartered in what country?

Answer: Brazil


Input: What area is the species of Spruce which can be found in Rensselaer Plateau native to?

Answer: eastern North America


Input: What is the date of death of the director of film Party Girl (1958 Film)?

Answer: June 16, 1979


Input: Are the directors of both films Inhale (Film) and Colt 38 Special Squad from the same country?

Answer: no


Input: What is the debt-to-GDP ratio in the country called the Giant of Africa?

Answer: 11 percent


Input: In what city was Ricardo Maliandi born?

Answer: ["La Plata"]


Input: When does it get cold in the state that has a buffalo on its license plate?

Answer: winter months


Input: the differences between the different spectral types of stars are primarily due to

Answer: ionization state


Input: When did the torch arrive in the country for Ab-normal Beauty?

Answer: May 2


Input: What city shares a border with Rivière-Verte in the province Nashwaak River is located?

Answer: Edmundston


Input: What is the place of birth of the director of film Vacations In Acapulco?

Answer: San Juan, Puerto Rico


Input: Were both Joseph Roth and Cid Corman authors?

Answer: yes


Input: Which film has the director died first, Eleni (Film) or Hunted Men?

Answer: Hunted Men


Input: In what year was Charles Lawrence's alma mater founded?

Answer: 1824


Input: When did the artist of a self-titled album in 1983 drop out of college?

Answer: 1978


Input: Which wartime classic was the title of a 1980 film with Hanna Schygulla & Mel Ferrer?

Answer: Lily Marlene

Answer: Lily Marleen

Answer: Lili Marleen (Connie Francis single)

Answer: Lilly Marlene

Answer: Lili Marleen (song)

Answer: Lili Marlene

Answer: Lili Marleen

Answer: Lili Marlène

Answer: Lili Marlen

Answer: Lily Marlène


Input: Which communist leader of the country hosting Traian was deposed in 1989?

Answer: Nicolae Ceaușescu


Input: Hopewell, which shares a county with Ogdensburg, is located in what township?

Answer: Sparta Township


Input: where is most of earths fresh water located

Answer: ice caps


Input: Write a function to add the given tuple to the given list.

Answer:
def add_tuple(test_list, test_tup):
  test_list += test_tup
  return (test_list)


Input: what season is it's a trap family guy

Answer: ninth season


Input: What is Eckart von Hirschhausen's occupation?

Answer: ["physician", "physicians", "medical doctor", "medical practitioner", "doctor", "medical doctors"]


Input: Where does the country where Philippe Panet's father holds citizenship rank in world's oil supplies?

Answer: second-largest


Input: Are Fuling District and Qidong, Jiangsu both located in China?

Answer: yes


Input: In what city was Evan Abraham born?

Answer: ["Swansea", "Abertawe"]


Input: who plays anna in days of our lives

Answer: Leann Hunley


Input: who sings small town throwdown with brantley gilbert

Answer: Justin Moore


Input: What are the last lines of My Fair Lady?

Answer: Where the devil are my slippers?


Input: Who is the minister of local government in the country where Guruve District is located?

Answer: Hon July Moyo


Input: What was Scarlett O'Hara's real first name?

Answer: Katie


Input: Who is the spouse of the director of film Just Once A Great Lady (1957 Film)?

Answer: Hilde Volk


Input: how old do you have to be to conceal carry in indiana

Answer: 18 years


Input: In what city was Esau Tjiuoro born?

Answer: ["Okakarara"]


Input: What number post-Beatles album of Paul McCartney did "No Words"  appear on?

Answer: fifth


Input: In what city was Israel Horowitz born?

Answer: ["New York City", "NYC", "New York", "the five boroughs", "Big Apple", "City of New York", "NY City", "New York, New York", "New York City, New York", "New York, NY", "New York City (NYC)"]


Input: When was the Chinese city producing All About Ah-Long taken by the British?

Answer: 1842


Input: most medals canada has won at a winter olympics

Answer: 29


Input: Who was known as the Manassa Mauler?

Answer: William Harrison Dempsey

Answer: Jack Dempsy

Answer: Dempsey Roll

Answer: Manassa Mauler

Answer: Jack Dempsey


Input: Who lived longer, Constance Keys or Anthony De Jasay?

Answer: Anthony De Jasay


Input: In the 1990s Babrak Karmal and Sultan Ali Keshtmond have been Prime Minister in which country?

Answer: Afghanistan

Answer: Avghanistaun

Answer: Soviet-occupied Afghanistan

Answer: Afganhistan

Answer: Afghanestan

Answer: Jomhūrī-ye Eslāmī-ye Afġānestān

Answer: Afghanastan

Answer: Afeganistao

Answer: Afgjanistan

Answer: Afghanistan/Article from the 1911 Encyclopedia

Answer: AfghanistaN

Answer: Afghanistan, Rep. of.

Answer: Afganistan

Answer: Afghanistan-Central Asia

Answer: Afghanistan (1911 Encyclopedia)

Answer: Afghansitan

Answer: Afgahanistan

Answer: IROA

Answer: Kinetic action

Answer: A-Stan

Answer: Afghanstan

Answer: Afğānistān

Answer: AFGHANISTAN

Answer: Afghānistān

Answer: I.R.O.A.

Answer: Islamic Republic of Afghanistan

Answer: Dowlat-e Eslami-ye Afghanestan

Answer: افغانستان

Answer: Afghinastan

Answer: The Graveyard of Empires

Answer: Affghanistan

Answer: Afghanistan, I.S. of

Answer: Etymology of Afghanistan

Answer: The Islamic Republic of Afghanistan

Answer: Islamic Transitional Government of Afghanistan

Answer: ISO 3166-1:AF

Answer: Afghnistan

Answer: د افغانستان اسلامي دولت دولت اسلامی افغانستان

Answer: Da Afġānistān Islāmī Jomhoriyat

Answer: Da Afghanistan Islami Dawlat Dawlat-e Eslami-e Afghanestan


Input: The 1976 German Grand Prix was won by a driver who retired in what year?

Answer: 1979


Input: In what city was Willem van Herp born?

Answer: ["Antwerp", "Antwerpen", "City of Antwerp", "Anvers"]


Input: who sings more than a woman to me

Answer: the Bee Gees


Input: Do the movies Bloody Birthday and The Beckoning Silence, originate from the same country?

Answer: no


Input: Are Ovgoros and Wadi Qabbani located in the same country?

Answer: no


Input: Björn Ulvaeus was a part of a Swedish pop group, formed in Stockholm in 1972, as well as co-producer on the film "Mamma Mia!" with who?

Answer: Benny Andersson


Input: Who plays the person who overthrew the moneychangers' tables in the temple in The Passion of the Christ?

Answer: James Patrick Caviezel


Input: What is GQ's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: In what city was David Harris Willson born?

Answer: ["Philadelphia", "Philly", "City of Brotherly Love", "Cradle of Liberty", "Philadelphia, Pennsylvania", "City of Philadelphia", "Philadelphia, PA"]


Input: In which country is the Aswan Dam?

Answer: EGY

Answer: Arab Republic of Egypt

Answer: A .R . EGYPT

Answer: The Arab Republic of Egypt

Answer: Eygpt

Answer: Etymology of Egypt

Answer: مصر

Answer: Kemmet

Answer: Gift of the Nile

Answer: Arab Republic Of Egypt

Answer: Names of Egypt

Answer: Miṣr

Answer: A .R . Egypt

Answer: Eytp

Answer: National identity of Egyptians

Answer: Jumhuriyat Misr al'Arabiyah

Answer: Eypt

Answer: Egyptian Republic

Answer: Ejipt

Answer: Name of Egypt

Answer: Egipto

Answer: Kimet

Answer: جمهوريّة مصرالعربيّة

Answer: Egypte

Answer: Egypt (name)

Answer: Egypt

Answer: جمهورية مصرالعربية

Answer: A.R. Egypt

Answer: Republic of Eygpt

Answer: Égypte

Answer: Second Egyptian Republic

Answer: Egipt

Answer: ISO 3166-1:EG

Answer: Egypt info


Input: Bob Gaudio and Nick Massi sang with which group?

Answer: Four Seasons

Answer: The Four Seasons (film)

Answer: The Four Seasons

Answer: The 4 Seasons

Answer: The four seasons

Answer: 4 seasons

Answer: The Four Seasons (movie)

Answer: Four seasons

Answer: The Four Seasons (disambiguation)


Input: Write a python function to find the length of the shortest word.

Answer:
def len_log(list1):
    min=len(list1[0])
    for i in list1:
        if len(i)<min:
            min=len(i)
    return min


Input: who was the last surviving soldier of the civil war

Answer: Albert Henry Woolson


Input: Did the movies Paru-Parong Bukid and Agon (Film), originate from the same country?

Answer: no


Input: Who was born first Neil LaBute or H. Bruce Humberstone?

Answer: H. Bruce "Lucky" Humberstone


Input: when does lara croft tomb raider come out

Answer: March 16, 2018


Input: Who is the son of the director of The Captive Heart?

Answer: James Dearden


Input: Do both films The Creator (Film) and The Woman Without Nerves have the directors from the same country?

Answer: no


Input: what nations were the central powers in ww1

Answer: Austria-Hungary

Answer: Ottoman

Answer: Ottoman Empire

Answer: Germany


Input: From which country is the province in the largest base for shooting films and TV dramas in the country pugs come from?

Answer: PRC


Input: When was the director of film Prey For The Shadows born?

Answer: 13 July 1923


Input: Does Yann Pivois have the same nationality as George W. Sarbacher Jr.?

Answer: no


Input: who plays rebecca in bridget jones edge of reason

Answer: Jacinda Barrett


Input: Mfon Sunday Udoka, is a Nigerian American former professional basketball player and the new Assistant Coach of the Nigeria women's national basketball team the Lady Tigers, she's the sister of NBA player Ime Sunday Udoka, a Nigerian-American former professional basketball player, and current assistant coach for the San Antonio Spurs, of which organization?

Answer: National Basketball Association (NBA)


Input: the truth about the harry quebert affair tv show release date

Answer: in 2018


Input: Which american president's father was a farmer and he was a former US representative from NY?

Answer: Millard Fillmore


Input: Where did the father of Maria Brontë spend most of his adult life?

Answer: England


Input: Which Italian fashion designer was murdered on the orders of his ex-wife?

Answer: Gucci group

Answer: Gucci

Answer: GUCCI BAG

Answer: House of Gucci

Answer: Gucci Group


Input: Who wrote the novel Delta Connection?

Answer: Hammond Innes

Answer: Ralph Hammond Innes

Answer: Ralph Hammond


Input: Who won baseball's first World Series of the 70s?

Answer: Orioles Roster

Answer: List of Baltimore Orioles captains

Answer: Baltimore Orioles

Answer: Milwaukee Brewers (1901)

Answer: Baltimore Orioles roster

Answer: Baltimore O's

Answer: O's

Answer: BAL Orioles

Answer: Fighting Showalters

Answer: The O's

Answer: Baltimore Orioles Roster

Answer: Milwaukee Brewers (1894–1901)

Answer: Baltimore Orioles (sports)

Answer: Baltimore Os

Answer: The Bird (baseball mascot)

Answer: The Baltimore Orioles

Answer: Balimore Orioles


Input: In what year was the actor who played Nathan Appleby in The Living and the Dead born?

Answer: 1986


Input: What are the two main arms of the River Nile called?

Answer: Blue Nile and White Nile


Input: What is the country of citizenship of the actor who played the first high priest of Israel in The Prince of Egypt?

Answer: America


Input: What is the climate like in the country neighboring the nation having the best internet in the world?

Answer: a combination of a continental climate and an oceanic climate


Input: What is Scooter Braun's occupation?

Answer: ["talent manager", "artist manager", "band manager", "music manager", "musician manager", "manager", "pop entrepreneur"]


Input: What is the place of birth of the director of film The Condemned 2?

Answer: Dutch


Input: Write a python function to check whether the given string is made up of two alternating characters or not.

Answer:
def is_Two_Alter(s):
    for i in range (len( s) - 2) :
        if (s[i] != s[i + 2]) :
            return False
    if (s[0] == s[1]):
        return False
    return True

assert is_Two_Alter("abab") == True
assert is_Two_Alter("aaaa") == False
assert is_Two_Alter("xyz") == False


Input: Were Nikos Koundouros and Curtis Hanson both film directors?

Answer: yes


Input: when were the subways built in new york city

Answer: October 27, 1904


Input: When was the stadium Wollongong Wolves Football Club plays at opened?

Answer: 1911


Input: The country in which Leines is found was named after what?

Answer: north


Input: When was the performer of song Did I Ever Tell You born?

Answer: September 12, 1931


Input: what type of printer has a nozzle like printhead

Answer: inkjet


Input: What year were trade unions legalized in Tony Blair's country?

Answer: 1871


Input: Where does Sam Fishburn's team have spring training?

Answer: Roger Dean Stadium


Input: What is Tsutomu Seki's occupation?

Answer: ["astronomer"]


Input: When was George Chubb, 1St Baron Hayter's father born?

Answer: 10 December 1816


Input: The largest ship in the "Imperator" class ocean liners had how many gross register tons?

Answer: 56,551


Input: what is the value of absolute zero on the celsius scale

Answer: −273.15


Input: What was Jane Russell's real first name?

Answer: Ernestine

Answer: Ernestine (disambiguation)


Input: what powers does the governor general have in australia

Answer: appointing


Input: When was the last time a candidate from the state that the most successful artist from this season of American Idol is from win Miss America?

Answer: 1962


Input: Does Ted Swinford have the same nationality as Nirmala Sheoran?

Answer: no


Input: Write a function to sum a specific column of a list in a given list of lists.

Answer:
def sum_column(list1, C):
    result = sum(row[C] for row in list1)
    return result


Input: Which red-haired actress had the Margarita cocktail named after her as her real name was Margarita Cansino?

Answer: Rita Heyworth

Answer: Margarita Carmen Cansino

Answer: Margarita Cansino

Answer: Rita hayworth

Answer: Rita Welles

Answer: Rita Hayworth

Answer: Rita Cancino


Input: in which year vivo launch its first phone in india

Answer: 2014


Input: Write a function to round up a number to specific digits.

Answer:
import math
def round_up(a, digits):
    n = 10**-digits
    return round(math.ceil(a / n) * n, digits)


Input: Which place is Gendarme in the city where performer of Where Flamingos Fly lives in?

Answer: Saint-Tropez


Input: Who wrote the stage musical Cabaret?

Answer: Bob Fosse

Answer: Robert Fosse

Answer: Robert Louis Fosse

Answer: Mary Ann Niles


Input: who was crowned emperor of the west in 800 ce

Answer: Charlemagne


Input: What nationality is the director of film Old Mamsell'S Secret?

Answer: Austrian


Input: Which magazine was started first Arthur's Magazine or First for Women?

Answer: Arthur's Magazine


Input: In what city was Francisco Maldonado born?

Answer: ["Salamanca"]


Input: Do both directors of films Battle Of Roses and Ramadasu have the same nationality?

Answer: no


Input: What was the job title of this American engineer and former astronaut aboard Apollo 11, who inspired the musical Moon Landing?

Answer: Lunar Module Pilot


Input: In what city was Betty Francisco born?

Answer: ["Little Rock", "Little Rock, Arkansas", "Little Rock, AR", "Little Rock, Ark.", "the Little Rock"]


Input: Who is the chief justice of the country containing the Bibiani/Anhwiaso/Bekwai District?

Answer: Sophia Akuffo


Input: What was the world's first atomic-powered ship called?

Answer: N. Lenin

Answer: Vladimir Lennon

Answer: Vladimir lenin

Answer: Vladimir Lenin

Answer: VI Lenin

Answer: V I Lenin

Answer: Vladimir lennon

Answer: Vladimir Il'ich Lenin

Answer: Lenin, V. I.

Answer: Vladimir Ilych Ulyanov

Answer: Comrade Lenin

Answer: Nikolay Lenin

Answer: Vladimir Ilyich Ulianov

Answer: Vladimir Ilyich Ulyanov Lenin

Answer: Lennin

Answer: Lenin, V.I.

Answer: Владимир Ленин

Answer: V.I. Ulyanov

Answer: Vladimir Ilyich

Answer: Vladimir Ulyanov

Answer: Владимир Ильич Ленин

Answer: V. Lenin

Answer: Nicolai Lenin

Answer: Vladimir I. Lenin

Answer: V.I. Lenin

Answer: Влади́мир Ильи́ч Ле́нин

Answer: Vladimir Ilyich Lenin

Answer: Ленина

Answer: V. I. Lenin

Answer: Ленин

Answer: Влади́мир Ильи́ч Улья́нов

Answer: Vladmir Lenin

Answer: Vladimir Ilich Lenin

Answer: Lenin

Answer: Vladimir Ilich Ulyanov

Answer: Vladimir Illich Lenin

Answer: Vladimir Ilyich Ulyanov

Answer: V. I. Ulyanov

Answer: Nikolai Lenin

Answer: Ле́нин


Input: Which country the performer of song Soldier (Neil Young Song) is from?

Answer: Canadian


Input: Who invented the type of script used in autographs?

Answer: the Sumerians


Input: What metropolitan area includes the city that has a sports team by the same name, that Matt Reilly once played for?

Answer: South Hampshire


Input: Whose father adopted the policy of Blood and Iron?

Answer: Herbert von Bismarck


Input: what mineral in 4 ga sandstones was dated to determine the age of the earth

Answer: zircon


Input: In what city was Emily Hood Westacott born?

Answer: ["Brisbane", "Brisbane, Queensland"]


Input: From what country is the president of the European state that seized Libya in 1911 from the main subject of the Ottoman era in the history of the country where Rila is located?

Answer: Italian Republic


Input: In what city was John Mant born?

Answer: ["Darling Point", "Darling Point, New South Wales", "Darling Point, New South Wales, Australia"]


Input: Write a function to find the nth jacobsthal number.

Answer:
def jacobsthal_num(n):
	dp = [0] * (n + 1)
	dp[0] = 0
	dp[1] = 1
	for i in range(2, n+1):
		dp[i] = dp[i - 1] + 2 * dp[i - 2]
	return dp[n]

assert jacobsthal_num(5) == 11
assert jacobsthal_num(2) == 1
assert jacobsthal_num(4) == 5


Input: what is the southern end of the appalachian trail

Answer: Springer Mountain


Input: What is Gordie Gosse's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: Simone Kirby is an Irish actress, her credits include as Tracey Moynihan in which Irish dramatic television series broadcast, on RTÉ Television, the show aired between 2010 and 2014?

Answer: Love/Hate


Input: Why was the country where the last name Shin comes from divided at the 38th parallel at the end of WWII?

Answer: it divided the country approximately in half


Input: what type of government structure does the us have

Answer: constitutional republic


Input: In what year did Saddam Hussein become President of Iraq?

Answer: one thousand, nine hundred and seventy-nine

Answer: 1979


Input: what is the staute of liberty made of

Answer: copper


Input: In what city was Kurt Baschwitz born?

Answer: ["Offenburg", "Imperial City of Offenburg"]


Input: The Warlock in Spite of Himself is a science fantasy novel by American author Christopher Stasheff, published in 1969, the title is a play on the title of which French playwright and actor, known by what stage name?

Answer: Molière


Input: Who presents the central budget in the political body that the Prime Minister of India is responsible to?

Answer: the Finance Minister of India


Input: When was the last time the team Wayne Lucier was a member of won a Super Bowl?

Answer: 2011


Input: who began the mass printing of bibles five centuries ago

Answer: Johannes Gutenberg


Input: chennai express one two three four get on the dance floor dancer

Answer: Priya Vasudev Mani Iyer


Input: How many test centuries did the grandfather of Fabian Cowdrey make for England ?

Answer: 22


Input: The 2005 documentary "The Aristocrats" was dedicated to a comedian that received how many Emmy Awards?

Answer: six


Input: When did the location where Bosque is located become part of the US?

Answer: January 6, 1912


Input: Both the Drever and Finnish Hound are two dog breeds that are bred for what purpose?

Answer: bred for hunting


Input: Who owns a licensed brand that seeks to engage the private sector in raising awareness and funds to help eliminate HIV/AIDS in eight African countries, who's partner is a Dutch sports and clothing company, which sells alpine sking and tennis equipment?

Answer: RED


Input: What year did the war in Soldier Five start?

Answer: 2 August 1990


Input: What is the award that the composer of film Okka Kshanam won?

Answer: Filmfare Awards South


Input: What is Harding of Bristol's occupation?

Answer: ["magistrate"]


Input: what was the biggest mass extinction in geologic time

Answer: Permian–Triassic extinction event


Input: Write a python function to count the number of lists in a given number of lists.

Answer:
def count_list(input_list):
    return len(input_list)


Input: What is Edwin Wallock's occupation?

Answer: ["actor", "actress", "actors", "actresses"]


Input: What did L. Fran Baum, author of the The Wonderful Wizard of Oz, call his home in Hollywood?

Answer: Ozcot


Input: Do Rafael Carbonell and Emmanuel Brunet-Jailly share the same nationality?

Answer: no


Input: Which mentor in the 3rd Sa Re Ga Ma Pa Challenge died in Kokilaben hospital?

Answer: Aadesh Shrivastava


Input: Who was president when the state where the first Aldi opened in the US became a state?

Answer: President James K. Polk


Input: What nationality is Ingrid Laubrock's husband?

Answer: American


Input: What country is the transport in the birth city of the performer of Svalutation?

Answer: Italy


Input: What is Kristina Lugn's occupation?

Answer: ["playwright", "dramatist", "playwrite", "scriptwriter"]


Input: when did taylor swift released her first album

Answer: October 24, 2006


Input: What is the date of birth of the director of film The Way We Are (Film)?

Answer: 23 May 1947


Input: Write a function to add a dictionary to the tuple.

Answer:
def add_dict_to_tuple(test_tup, test_dict):
  test_tup = list(test_tup)
  test_tup.append(test_dict)
  test_tup = tuple(test_tup)
  return (test_tup)


Input: who pitched the last perfect game in baseball

Answer: Félix Hernández


Input: In what city was Angela Leong born?

Answer: ["Guangzhou", "Canton", "Kwangchow", "Kwongchow"]


Input: Are Khumkar and Dol Dol Bolaghi located in the same country?

Answer: yes


Input: Write a function to check whether the given key is present in the dictionary or not.

Answer:
def is_key_present(d,x):
  if x in d:
    return True
  else:
     return False


Input: what was the robot maids name on the jetsons

Answer: Rosie


Input: Write a python function to accept the strings which contains all vowels.

Answer:
def check(string):
  if len(set(string).intersection("AEIOUaeiou"))>=5:
    return ('accepted')
  else:
    return ("not accepted")

assert check("SEEquoiaL") == 'accepted'
assert check('program') == "not accepted"
assert check('fine') == "not accepted"


Input: What is Petru Vlah's occupation?

Answer: ["politician", "political leader", "political figure", "polit.", "pol"]


Input: What was the population according to the 2010 census of the census-designated place where Max Loughan created a crystal radio?

Answer: 8,777


Input: Which film has the director who is older, Les Braqueuses or Call Northside 777?

Answer: Call Northside 777


Input: In what city was I.P. Paul born?

Answer: ["Thrissur", "Thrichur", "Thrissivaperur"]


Input: What is the instrument played by the instrumentalist with whom Taj Mahal and N. Ravikiran made Mumtaz Mahal?

Answer: Mohan Veena (slide guitar)


Input: Where was the place of death of the director of film Kiss Of Araby?

Answer: Hollywood


Input: Which golf tournament presents its winner with a green jacket?

Answer: Us masters

Answer: Masters golf tournament

Answer: Master's tournament (golf)

Answer: Golf masters

Answer: Masters Golf Tournament

Answer: Augusta Masters Tournament

Answer: The Masters golf tournament

Answer: The Masters

Answer: The US Masters

Answer: Live at Amen Corner

Answer: US Masters

Answer: The Masters Tournament

Answer: Masters Tournament

Answer: Masters Invitational

Answer: U.S. Masters


Input: Do Andries Kinsbergen and Jakob Ritter Von Danner have the same nationality?

Answer: no


Input: In what city was V. S. Srinivasa Sastri born?

Answer: ["Valangaiman"]


Input: Which Welsh singer was invited to sing at the White House on Millennium Eve?

Answer: Jones, Tom

Answer: Tom Jones (opera)

Answer: Tom Jones (footballer)

Answer: Tom Jones (Australian footballer)

Answer: Tom Jones (film)

Answer: Tom jones (film)

Answer: Tom jones

Answer: Tom Jones!

Answer: Tom Jones (disambiguation)

Answer: Tom Jones (Opera)

Answer: Tom Jones

Answer: Tom Jones (movie)


Input: who was the first person to be awarded the bharat ratna

Answer: scientist C. V. Raman

Answer: philosopher Sarvepalli Radhakrishnan

Answer: politician C. Rajagopalachari,


Input: Which actor played Maxwell Smart?

Answer: Adams, Don

Answer: Don Adams (Actor)

Answer: Don Adams

Answer: Donald James Yarmy

Answer: Donald Yarmy

Answer: Missed it by that much


Input: Which team has not won a World Series since Babe Ruth stopped pitching for them?

Answer: Carlos Ahern

Answer: Redsox

Answer: RedSox

Answer: Boston redsox

Answer: The Boston Redsox

Answer: Boston Americans

Answer: Red socs

Answer: Bosox

Answer: Red Sox Bench Coach

Answer: Boston Red Socks

Answer: Red Sox First Base Coach

Answer: Boston Red Sox

Answer: Old Town Team

Answer: Red Sox Hitting Coach

Answer: Boston Red Sox roster

Answer: Boston Red Sox (sports)

Answer: Truck Day

Answer: BoSox

Answer: The red sox

Answer: Redsocks

Answer: Crimson hose

Answer: Boston Pilgrams

Answer: Bo-sox

Answer: Boston Sox

Answer: Boston Red Sox Roster

Answer: Red sox

Answer: Red Sox Pitching Coach

Answer: Red Sox

Answer: Red Sox Roster

Answer: The Boston Red Sox

Answer: The Boston Red Socks

Answer: The Old Town Team

Answer: Boston red sox

Answer: Boston Redsox

Answer: Talksox

Answer: Boston Somersets

Answer: New England Nine

Answer: Boston Pilgrims


Input: What is the cause of death of Julie Nixon Eisenhower's mother?

Answer: lung cancer


Input: Who was the first actress to receive four Oscars?

Answer: Catherine Hepburn

Answer: Katharine Houghton Hepburn

Answer: Katharine Hepburn

Answer: Ogden Smith Ludlow

Answer: Hepburn, Katharine

Answer: Kate Hepburn

Answer: Ludlow Ogden Smith

Answer: Katherine Hepburn

Answer: Tom Hepburn

Answer: Kathryn Hepburn


Input: Which African country is bordered by Benin, Ghana, Ivory Coast, Niger, and Mali?

Answer: Bourkina-Fasso

Answer: Maximes, Thoughts and Riddles of the Mossi

Answer: Burkina Fasso

Answer: Burkina

Answer: Bourkina Faso

Answer: Maximes, pensées et devinettes mossi

Answer: Burkinabè

Answer: Berkina faso

Answer: ISO 3166-1:BF

Answer: Burkina faso

Answer: Faso

Answer: Burkina Fasoan

Answer: Bourkina Fasso

Answer: Burkinafaso

Answer: Burkino Faso

Answer: Burkina-Faso

Answer: Burkina Faso

Answer: Burkina Fatso