Passage: The Charleston-North Charleston-Summerville Metropolitan Statistical Area consists of three counties: Charleston, Berkeley, and Dorchester. As of the 2013 U.S. Census, the metropolitan statistical area had a total population of 712,239 people. North Charleston is the second-largest city in the Charleston-North Charleston-Summerville Metropolitan Statistical Area and ranks as the third-largest city in the state; Mount Pleasant and Summerville are the next-largest cities. These cities combined with other incorporated and unincorporated areas along with the city of Charleston form the Charleston-North Charleston Urban Area with a population of 548,404 as of  2010. The metropolitan statistical area also includes a separate and much smaller urban area within Berkeley County, Moncks Corner . The traditional parish system persisted until the Reconstruction Era, when counties were imposed. Nevertheless, traditional parishes still exist in various capacities, mainly as public service districts. When the city of Charleston was formed, it was defined by the limits of the Parish of St. Philip and St. Michael, now also includes parts of St. James' Parish, St. George's Parish, St. Andrew's Parish, and St. John's Parish, although the last two are mostly still incorporated rural parishes. Question: What is the fourth largest city in the state?
l = ['metropolitan', 'North Charleston', 'Charleston-Summerville', 'Mount Pleasant']

rank = l[4 - 1]

for i in l:

  if i == rank:

    print(i)
    break