var tol =4;

var xs = new Array(17,47,68,69,71,72,74,76,86,91,94,97,100,101,103,104,105,106,110,110,110,110,115,115,115,115,117,118,119,121,121,122,123,124,126,131,133,133,137,138,138,138,141,144,149,151,152,152,161,162,163,166,168,169,169,172,173,173,181,182,183,186,186,186,187,187,189,190,193,197,200,200,203,204,204,204,206,206,207,207,208,213,215,215,219,221,221,225,227,227,233,236,237,237,237,238,239,239,239,239,242,243,249,250,251,252,252,252,255,257,257,258,259,261,261,263,266,266,266,267,271,271,272,274,276,278,278,279,280,282,283,284,290,290,290,291,292,293,295,295,296,300,302,305,305,308,309,313,315,318,319,319,319,321,325,328,328,328,329,331,331,331,333,334,334,335,336,338,339,340,341,341,342,343,344,345,348,348,349,349,350,350,352,353,353,353,354,354,354,355,357,359,364,364,365,367,371,371,372,376,378,378,379,379,381,382,384,384,385,387,389,389,390,390,392,393,394,394,395,398,400,402,402,403,405,408,414,416,420,421,421,422,422,422,424,425,426,433,437,437,439,441,443,448,456,456,458,460,460,461,462,463,472,474,478,481,493,497,509,518,521,531,538,539,562,563,564,583,599,602,626,653,657,669,669,676,682,683);

var ys = new Array(413,395,145,328,239,332,390,326,354,468,490,357,358,356,350,360,360,360,368,365,333,281,320,365,377,422,380,377,380,357,372,460,345,518,327,376,377,407,464,350,357,372,374,365,363,379,351,489,318,397,485,497,314,313,375,298,240,398,286,375,444,463,290,460,454,347,291,327,359,360,479,498,377,363,382,428,430,382,369,521,538,297,271,386,317,385,545,519,387,485,526,404,250,439,536,240,406,405,443,503,242,526,229,407,540,528,305,406,280,408,503,18,412,319,366,413,413,541,499,480,453,232,484,527,550,476,231,415,474,456,259,444,536,432,420,301,446,371,212,249,258,527,205,541,247,261,199,215,489,193,462,275,398,299,531,445,245,339,82,147,302,151,141,135,129,340,431,446,117,205,110,311,331,105,481,131,97,65,89,385,76,114,108,165,47,215,247,378,123,502,406,185,478,284,187,470,368,273,259,441,265,233,209,247,251,252,471,230,251,217,221,212,246,200,291,220,420,181,204,226,214,217,221,249,210,407,266,238,190,193,333,194,305,330,195,293,286,314,231,301,358,279,206,230,218,275,238,277,215,190,278,189,223,301,267,270,248,343,279,232,291,217,223,280,193,193,238,278,209,245,195,206,221,244,246,225,241,241);


var data = new Array(
'Morehead, KY','7,578','5,914','1,664','28.14',
'Olive Hill, KY','1,821','1,813','8','0.44',
'Columbus, OH','733,203','711,470','21,733','3.05',
'Portsmouth, OH','20,132','20,909','-777','-3.72',
'Chillicothe, OH','22,216','21,796','420','1.93',
'South Shore, KY','1,248','1,226','22','1.79',
'Grayson, KY','3,981','3,877','104','2.68',
'New Boston, OH','2,182','2,340','-158','-6.75',
'Greenup, KY','1,189','1,198','-9','-0.75',
'Paintsville, KY','4,155','4,132','23','0.56',
'Prestonsburg, KY','3,853','3,612','241','6.67',
'Hamilton Township, OH','1,855','1,817','38','2.09',
'Raceland, KY','2,527','2,355','172','7.30',
'Hanging Rock, OH','293','279','14','5.02',
'Elizabeth Township, OH','2,963','2,914','49','1.68',
'Russell, KY','3,604','3,645','-41','-1.12',
'Ironton, OH','11,416','11,211','205','1.83',
'Upper Township, OH','15,815','15,648','167','1.07',
'Ashland, KY','21,570','21,981','-411','-1.87',
'Coal Grove, OH','2,087','2,027','60','2.96',
'Decatur Township, OH','863','839','24','2.86',
'Jackson, OH','6,232','6,184','48','0.78',
'Washington Township, OH','257','250','7','2.80',
'Perry Township, OH','6,943','6,813','130','1.91',
'Catlettsburg, KY','1,907','1,960','-53','-2.70',
'Fort Gay, WV','810','819','-9','-1.10',
'Kenova, WV','3,349','3,485','-136','-3.90',
'South Point, OH','3,973','3,742','231','6.17',
'Ceredo, WV','1,617','1,675','-58','-3.46',
'Lawrence Township, OH','2,600','2,574','26','1.01',
'Fayette Township, OH','9,335','9,169','166','1.81',
'Inez, KY','453','466','-13','-2.79',
'Aid Township, OH','925','907','18','1.98',
'Pikeville, KY','6,343','6,295','48','0.76',
'Symmes Township, OH','486','470','16','3.40',
'Chesapeake, OH','879','842','37','4.39',
'Huntington, WV','49,007','51,475','-2,468','-4.79',
'Wayne, WV','1,144','1,105','39','3.53',
'Kermit, WV','226','209','17','8.13',
'Mason Township, OH','1,124','1,095','29','2.65',
'Windsor Township, OH','2,155','2,127','28','1.32',
'Union Township, OH','9,092','9,002','90','1.00',
'Proctorville, OH','629','620','9','1.45',
'Rome Township, OH','8,766','8,694','72','0.83',
'Athalia, OH','341','328','13','3.96',
'Barboursville, WV','3,267','3,183','84','2.64',
'Crown City, OH','436','411','25','6.08',
'Williamson, WV','3,158','3,414','-256','-7.50',
'Gallipolis, OH','4,221','4,180','41','0.98',
'West Hamlin, WV','688','696','-8','-1.15',
'Delbarton, WV','441','474','-33','-6.96',
'Matewan, WV','497','498','-1','-0.20',
'Henderson, WV','313','325','-12','-3.69',
'Point Pleasant, WV','4,480','4,637','-157','-3.39',
'Milton, WV','2,356','2,206','150','6.80',
'Cheshire, OH','88','221','-133','-60.18',
'Athens, OH','20,896','21,342','-446','-2.09',
'Hamlin, WV','1,096','1,119','-23','-2.06',
'Mason, WV','1,047','1,064','-17','-1.60',
'Hurricane, WV','6,071','5,222','849','16.26',
'Chapmanville, WV','1,141','1,211','-70','-5.78',
'Logan, WV','1,537','1,630','-93','-5.71',
'Hartford City, WV','516','519','-3','-0.58',
'West Logan, WV','397','418','-21','-5.02',
'Mitchell Heights, WV','280','301','-21','-6.98',
'Buffalo, WV','1,208','1,171','37','3.16',
'New Haven, WV','1,527','1,559','-32','-2.05',
'Leon, WV','127','132','-5','-3.79',
'Eleanor, WV','1,518','1,345','173','12.86',
'Winfield, WV','2,040','1,858','182','9.80',
'Man, WV','712','770','-58','-7.53',
'Gilbert, WV','398','417','-19','-4.56',
'Nitro, WV','6,739','6,824','-85','-1.25',
'Bancroft, WV','377','367','10','2.72',
'Glasgow, WV','744','783','-39','-4.98',
'Danville, WV','539','550','-11','-2.00',
'Madison, WV','2,618','2,677','-59','-2.20',
'St. Albans, WV','11,063','11,567','-504','-4.36',
'Poca, WV','1,032','1,013','19','1.88',
'Iaeger, WV','309','358','-49','-13.69',
'Bradshaw, WV','260','289','-29','-10.03',
'Ravenswood, WV','3,997','4,031','-34','-0.84',
'Reedsville, WV','532','517','15','2.90',
'Dunbar, WV','7,675','8,154','-479','-5.87',
'Ripley, WV','3,271','3,263','8','0.25',
'South Charleston, WV','12,578','13,390','-812','-6.06',
'War, WV','680','788','-108','-13.71',
'Davy, WV','353','373','-20','-5.36',
'Charleston, WV','50,846','53,421','-2,575','-4.82',
'Oceana, WV','1,457','1,550','-93','-6.00',
'Welch, WV','2,327','2,683','-356','-13.27',
'Marmet, WV','1,620','1,693','-73','-4.31',
'Parkersburg, WV','31,755','33,099','-1,344','-4.06',
'Sylvester, WV','470','195','275','141.03',
'Gary, WV','787','917','-130','-14.18',
'Vienna, WV','10,691','10,861','-170','-1.57',
'Chesapeake, WV','1,561','1,643','-82','-4.99',
'Belle, WV','1,177','1,259','-82','-6.51',
'Whitesville, WV','511','520','-9','-1.73',
'Pineville, WV','670','715','-45','-6.29',
'North Hills, WV','863','880','-17','-1.93',
'Kimball, WV','356','411','-55','-13.38',
'Williamstown, WV','2,977','2,996','-19','-0.63',
'East Bank, WV','891','933','-42','-4.50',
'Anawalt, WV','244','272','-28','-10.29',
'Northfork, WV','446','519','-73','-14.07',
'Reedy, WV','191','198','-7','-3.54',
'Cedar Grove, WV','815','862','-47','-5.45',
'Elizabeth, WV','976','994','-18','-1.81',
'Pratt, WV','533','551','-18','-3.27',
'Mullens, WV','1,630','1,769','-139','-7.86',
'Canton, OH','78,924','80,806','-1,882','-2.30',
'Handley, WV','342','362','-20','-5.52',
'Spencer, WV','2,255','2,352','-97','-4.12',
'Clendenin, WV','1,052','1,116','-64','-5.73',
'Montgomery, WV','1,926','1,942','-16','-0.82',
'Smithers, WV','855','904','-49','-5.42',
'Bramwell, WV','409','426','-17','-3.99',
'Rhodell, WV','230','234','-4','-1.71',
'Lester, WV','315','322','-7','-2.17',
'Pax, WV','165','174','-9','-5.17',
'Belmont, WV','994','1,036','-42','-4.05',
'Sophia, WV','1,249','1,301','-52','-4.00',
'Matoaka, WV','304','317','-13','-4.10',
'Bluefield, WV','11,053','11,451','-398','-3.48',
'Mabscott, WV','1,351','1,403','-52','-3.71',
'St. Marys, WV','1,925','2,017','-92','-4.56',
'Gauley Bridge, WV','699','738','-39','-5.28',
'Beckley, WV','16,828','17,254','-426','-2.47',
'Mount Hope, WV','1,398','1,487','-89','-5.99',
'Cairo, WV','270','263','7','2.66',
'Oak Hill, WV','7,272','7,589','-317','-4.18',
'Princeton, WV','6,200','6,347','-147','-2.32',
'Fayetteville, WV','2,655','2,754','-99','-3.59',
'Ansted, WV','1,594','1,576','18','1.14',
'Grantsville, WV','545','565','-20','-3.54',
'Thurmond, WV','7','7','0','0.00',
'Clay, WV','573','593','-20','-3.37',
'Friendly, WV','151','159','-8','-5.03',
'Ellenboro, WV','375','373','2','0.54',
'Harrisville, WV','1,875','1,842','33','1.79',
'Athens, WV','1,179','1,102','77','6.99',
'Sistersville, WV','1,492','1,588','-96','-6.05',
'Oakvale, WV','138','142','-4','-2.82',
'Pennsboro, WV','1,199','1,199','0','0.00',
'Pullman, WV','175','169','6','3.55',
'Paden City, WV','2,683','2,860','-177','-6.19',
'Middlebourne, WV','847','870','-23','-2.64',
'Hinton, WV','2,651','2,880','-229','-7.95',
'New Martinsville, WV','5,649','5,984','-335','-5.60',
'Meadow Bridge, WV','307','321','-14','-4.36',
'Auburn, WV','106','103','3','2.91',
'Summersville, WV','3,356','3,294','62','1.88',
'Glenville, WV','1,479','1,544','-65','-4.21',
'Peterstown, WV','494','499','-5','-1.00',
'Rainelle, WV','1,495','1,545','-50','-3.24',
'West Union, WV','806','806','0','0.00',
'Gassaway, WV','882','901','-19','-2.11',
'Jefferson, OH','3,572','3,494','-78','-2.18',
'Glen Dale, WV','1,455','1,552','-97','-6.25',
'Sand Fork, WV','171','176','-5','-2.84',
'Moundsville, WV','9,455','9,998','-543','-5.43',
'McMechen, WV','1,798','1,937','-139','-7.18',
'Benwood, WV','1,477','1,585','-108','-6.81',
'Wheeling, WV','29,330','31,419','-2,089','-6.65',
'Sutton, WV','990','1,011','-21','-2.08',
'Quinwood, WV','419','435','-16','-3.68',
'Rupert, WV','934','940','-6','-0.64',
'Clearview, WV','562','590','-28','-4.75',
'Pine Grove, WV','528','571','-43','-7.53',
'Windsor Heights, WV','400','431','-31','-7.19',
'Burnsville, WV','471','481','-10','-2.08',
'Flatwoods, WV','353','348','5','1.44',
'Beech Bottom, WV','568','606','-38','-6.27',
'Alderson, WV','1,082','1,091','-9','-0.82',
'Triadelphia, WV','816','817','-1','-0.12',
'Wellsburg, WV','2,676','2,891','-215','-7.44',
'New Cumberland, WV','1,030','1,099','-69','-6.28',
'Follansbee, WV','2,919','3,115','-196','-6.29',
'Camden-on-Gauley, WV','153','157','-4','-2.55',
'Weirton, WV','19,250','20,411','-1,161','-5.69',
'West Liberty, WV','1,239','1,220','19','1.56',
'Bethany, WV','978','985','-7','-0.71',
'Cameron, WV','1,122','1,212','-90','-7.43',
'Chester, WV','2,397','2,592','-195','-7.52',
'Smithfield, WV','164','177','-13','-7.34',
'Salem, WV','2,051','2,006','45','2.24',
'Cowen, WV','501','513','-12','-2.34',
'Valley Grove, WV','400','405','-5','-1.23',
'Union, WV','551','548','3','0.55',
'Richwood, WV','2,356','2,477','-121','-4.88',
'Littleton, WV','198','207','-9','-4.35',
'Ronceverte, WV','1,527','1,557','-30','-1.93',
'Weston, WV','4,222','4,317','-95','-2.20',
'Hundred, WV','328','344','-16','-4.65',
'Lewisburg, WV','3,561','3,624','-63','-1.74',
'Addison (Webster Springs), WV','773','808','-35','-4.33',
'Jane Lew, WV','407','406','1','0.25',
'West Milford, WV','651','651','0','0.00',
'Falling Spring, WV','203','209','-6','-2.87',
'Lost Creek, WV','507','467','40','8.57',
'Lumberport, WV','970','937','33','3.52',
'Mannington, WV','2,085','2,124','-39','-1.84',
'Clarksburg, WV','16,459','16,743','-284','-1.70',
'Nutter Fort, WV','1,645','1,686','-41','-2.43',
'Stonewood, WV','1,855','1,815','40','2.20',
'White Sulphur Springs, WV','2,321','2,315','6','0.26',
'Shinnston, WV','2,244','2,295','-51','-2.22',
'Anmoore, WV','772','685','87','12.70',
'Bethlehem, WV','2,523','2,651','-128','-4.83',
'Worthington, WV','165','170','-5','-2.94',
'Farmington, WV','388','387','1','0.26',
'Bridgeport, WV','7,756','7,306','450','6.16',
'Fairview, WV','437','435','2','0.46',
'Buckhannon, WV','5,579','5,725','-146','-2.55',
'Monongah, WV','914','939','-25','-2.66',
'Hillsboro, WV','231','243','-12','-4.94',
'Blacksville, WV','171','175','-4','-2.29',
'Keystone, WV','389','453','-64','-14.13',
'Whitehall, WV','603','595','8','1.34',
'Barrackville, WV','1,293','1,288','5','0.39',
'Fairmont, WV','19,145','19,097','48','0.25',
'Pleasant Valley, WV','3,128','3,124','4','0.13',
'Flemington, WV','290','287','3','1.05',
'Rivesville, WV','915','913','2','0.22',
'Marlinton, WV','1,235','1,204','31','2.57',
'Philippi, WV','2,826','2,870','-44','-1.53',
'Grafton, WV','5,386','5,489','-103','-1.88',
'Star City, WV','1,399','1,366','33','2.42',
'Granville, WV','780','778','2','0.26',
'Huttonsville, WV','214','217','-3','-1.38',
'Westover, WV','3,924','3,941','-17','-0.43',
'Womelsdorf (Coalton), WV','248','247','1','0.40',
'Mill Creek, WV','651','662','-11','-1.66',
'Morgantown, WV','28,654','26,809','1,845','6.88',
'Junior, WV','448','450','-2','-0.44',
'Belington, WV','1,825','1,788','37','2.07',
'Beverly, WV','652','651','1','0.15',
'Newburg, WV','362','360','2','0.56',
'Elkins, WV','7,046','7,032','14','0.20',
'Durbin, WV','249','262','-13','-4.96',
'Montrose, WV','157','156','1','0.64',
'Masontown, WV','655','647','8','1.24',
'Tunnelton, WV','349','336','13','3.87',
'Kingwood, WV','2,954','2,944','10','0.34',
'Parsons, WV','1,380','1,463','-83','-5.67',
'Rowlesburg, WV','621','613','8','1.31',
'Hambleton, WV','245','246','-1','-0.41',
'Albright, WV','252','247','5','2.02',
'Bruceton Mills, WV','75','74','1','1.35',
'Hendricks, WV','310','319','-9','-2.82',
'Brandonville, WV','125','102','23','22.55',
'Terra Alta, WV','1,509','1,456','53','3.64',
'Harman, WV','125','126','-1','-0.79',
'Thomas, WV','402','452','-50','-11.06',
'Davis, WV','576','624','-48','-7.69',
'Bayard, WV','291','299','-8','-2.68',
'Franklin, WV','804','797','7','0.88',
'Grant, WV','642','657','-15','-2.28',
'Elk Garden, WV','208','217','-9','-4.15',
'Petersburg, WV','2,695','2,423','272','11.23',
'Piedmont, WV','935','1,014','-79','-7.79',
'Keyser, WV','5,334','5,303','31','0.58',
'Moorefield, WV','2,426','2,375','51','2.15',
'Carpendale, WV','902','954','-52','-5.45',
'Ridgeley, WV','698','762','-64','-8.40',
'Romney, WV','1,971','1,940','31','1.60',
'Wardensville, WV','246','246','0','0.00',
'Paw Paw, WV','506','524','-18','-3.44',
'Capon Bridge, WV','245','200','45','22.50',
'Bath (Berkeley Springs), WV','701','663','38','5.73',
'Hedgesville, WV','244','240','4','1.67',
'Martinsburg, WV','16,392','14,972','1,420','9.48',
'Corporation of Ranson, WV','3,957','2,951','1,006','34.09',
'Charles Town, WV','3,869','2,907','962','33.09',
'Shepherdstown, WV','1,172','803','369','45.95',
'Bolivar, WV','1,087','1,045','42','4.02',
'Harpers Ferry, WV','318','307','11','3.58'
);