<Tr> <Td> Download coordinates as: KML GPX </Td> </Tr> <P> In Scotland, locality refers to a populated area composed of contiguous postcodes with populations of at least 500 . </P> <Table> <Tr> <Th> Rank </Th> <Th> Locality </Th> <Th> Population </Th> <Th> Status </Th> <Th> Council area </Th> </Tr> <Tr> <Th> </Th> <Td> Glasgow </Td> <Td> 599,650 </Td> <Td> City </Td> <Td> Glasgow City </Td> </Tr> <Tr> <Th> </Th> <Td> Edinburgh </Td> <Td> 464,990 </Td> <Td> City </Td> <Td> City of Edinburgh </Td> </Tr> <Tr> <Th> </Th> <Td> Aberdeen </Td> <Td> 196,670 </Td> <Td> City </Td> <Td> Aberdeen City </Td> </Tr> <Tr> <Th> </Th> <Td> Dundee </Td> <Td> 147,710 </Td> <Td> City </Td> <Td> Dundee City </Td> </Tr> <Tr> <Th> 5 </Th> <Td> Paisley </Td> <Td> 76,220 </Td> <Td> Town </Td> <Td> Renfrewshire </Td> </Tr> <Tr> <Th> 6 </Th> <Td> East Kilbride </Td> <Td> 74,740 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> <Tr> <Th> 7 </Th> <Td> Livingston </Td> <Td> 56,570 </Td> <Td> Town </Td> <Td> West Lothian </Td> </Tr> <Tr> <Th> 8 </Th> <Td> Hamilton </Td> <Td> 53,200 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> <Tr> <Th> 9 </Th> <Td> Cumbernauld </Td> <Td> 51,610 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 10 </Th> <Td> Dunfermline </Td> <Td> 50,380 </Td> <Td> Town </Td> <Td> Fife </Td> </Tr> <Tr> <Th> 11 </Th> <Td> Kirkcaldy </Td> <Td> 49,460 </Td> <Td> Town </Td> <Td> Fife </Td> </Tr> <Tr> <Th> 12 </Th> <Td> Ayr </Td> <Td> 47,190 </Td> <Td> Town </Td> <Td> South Ayrshire </Td> </Tr> <Tr> <Th> 13 </Th> <Td> Perth </Td> <Td> 47,180 </Td> <Td> City </Td> <Td> Perth and Kinross </Td> </Tr> <Tr> <Th> 14 </Th> <Td> Inverness </Td> <Td> 46,870 </Td> <Td> City </Td> <Td> Highland </Td> </Tr> <Tr> <Th> 15 </Th> <Td> Kilmarnock </Td> <Td> 46,350 </Td> <Td> Town </Td> <Td> East Ayrshire </Td> </Tr> <Tr> <Th> 16 </Th> <Td> Coatbridge </Td> <Td> 43,970 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 17 </Th> <Td> Greenock </Td> <Td> 43,690 </Td> <Td> Town </Td> <Td> Inverclyde </Td> </Tr> <Tr> <Th> 18 </Th> <Td> Glenrothes </Td> <Td> 39,100 </Td> <Td> Town </Td> <Td> Fife </Td> </Tr> <Tr> <Th> 19 </Th> <Td> Airdrie </Td> <Td> 37,130 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 20 </Th> <Td> Stirling </Td> <Td> 36,440 </Td> <Td> City </Td> <Td> Stirling </Td> </Tr> <Tr> <Th> 21 </Th> <Td> Falkirk </Td> <Td> 35,310 </Td> <Td> Town </Td> <Td> Falkirk </Td> </Tr> <Tr> <Th> 22 </Th> <Td> Irvine </Td> <Td> 33,740 </Td> <Td> Town </Td> <Td> North Ayrshire </Td> </Tr> <Tr> <Th> 23 </Th> <Td> Dumfries </Td> <Td> 33,280 </Td> <Td> Town </Td> <Td> Dumfries and Galloway </Td> </Tr> <Tr> <Th> 24 </Th> <Td> Motherwell </Td> <Td> 32,120 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 25 </Th> <Td> Rutherglen </Td> <Td> 31,180 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> <Tr> <Th> 26 </Th> <Td> Wishaw </Td> <Td> 30,510 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 27 </Th> <Td> Cambuslang </Td> <Td> 27,610 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> <Tr> <Th> 28 </Th> <Td> Bearsden </Td> <Td> 27,340 </Td> <Td> Town </Td> <Td> East Dunbartonshire </Td> </Tr> <Tr> <Th> 29 </Th> <Td> Clydebank </Td> <Td> 26,640 </Td> <Td> Town </Td> <Td> West Dunbartonshire </Td> </Tr> <Tr> <Th> 30 </Th> <Td> Newton Mearns </Td> <Td> 24,650 </Td> <Td> Town </Td> <Td> East Renfrewshire </Td> </Tr> <Tr> <Th> 31 </Th> <Td> Arbroath </Td> <Td> 23,640 </Td> <Td> Town </Td> <Td> Angus </Td> </Tr> <Tr> <Th> 32 </Th> <Td> Musselburgh </Td> <Td> 23,620 </Td> <Td> Town </Td> <Td> East Lothian </Td> </Tr> <Tr> <Th> 33 </Th> <Td> Bishopbriggs </Td> <Td> 23,430 </Td> <Td> Town </Td> <Td> East Dunbartonshire </Td> </Tr> <Tr> <Th> 34 </Th> <Td> Elgin </Td> <Td> 22,980 </Td> <Td> Town </Td> <Td> Moray </Td> </Tr> <Tr> <Th> 35 </Th> <Td> Renfrew </Td> <Td> 22,010 </Td> <Td> Town </Td> <Td> Renfrewshire </Td> </Tr> <Tr> <Th> 36 </Th> <Td> Bathgate </Td> <Td> 21,070 </Td> <Td> Town </Td> <Td> West Lothian </Td> </Tr> <Tr> <Th> 37 </Th> <Td> Bellshill </Td> <Td> 20,650 </Td> <Td> Town </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 38 </Th> <Td> Alloa </Td> <Td> 20,390 </Td> <Td> Town </Td> <Td> Clackmannanshire </Td> </Tr> <Tr> <Th> 39 </Th> <Td> Dumbarton </Td> <Td> 19,950 </Td> <Td> Town </Td> <Td> West Dunbartonshire </Td> </Tr> <Tr> <Th> 40 </Th> <Td> Kirkintilloch </Td> <Td> 19,630 </Td> <Td> Town </Td> <Td> East Dunbartonshire </Td> </Tr> <Tr> <Th> 41 </Th> <Td> Peterhead </Td> <Td> 18,450 </Td> <Td> Town </Td> <Td> Aberdeenshire </Td> </Tr> <Tr> <Th> 42 </Th> <Td> Barrhead </Td> <Td> 17,620 </Td> <Td> Town </Td> <Td> East Renfrewshire </Td> </Tr> <Tr> <Th> 43 </Th> <Td> Grangemouth </Td> <Td> 17,280 </Td> <Td> Town </Td> <Td> Falkirk </Td> </Tr> <Tr> <Th> 44 </Th> <Td> Blantyre </Td> <Td> 17,090 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> <Tr> <Th> 45 </Th> <Td> St Andrews </Td> <Td> 16,800 </Td> <Td> Town </Td> <Td> Fife </Td> </Tr> <Tr> <Th> 46 </Th> <Td> Kilwinning </Td> <Td> 16,420 </Td> <Td> Town </Td> <Td> North Ayrshire </Td> </Tr> <Tr> <Th> 47 </Th> <Td> Johnstone </Td> <Td> 16,390 </Td> <Td> Town </Td> <Td> Renfrewshire </Td> </Tr> <Tr> <Th> 48 </Th> <Td> Bonnyrigg </Td> <Td> 16,360 </Td> <Td> Town </Td> <Td> Midlothian </Td> </Tr> <Tr> <Th> 49 </Th> <Td> Penicuik </Td> <Td> 16,110 </Td> <Td> Town </Td> <Td> Midlothian </Td> </Tr> <Tr> <Th> 50 </Th> <Td> Viewpark </Td> <Td> 16,020 </Td> <Td> Area </Td> <Td> North Lanarkshire </Td> </Tr> <Tr> <Th> 51 </Th> <Td> Erskine </Td> <Td> 15,530 </Td> <Td> Town </Td> <Td> Renfrewshire </Td> </Tr> <Tr> <Th> 52 </Th> <Td> Broxburn </Td> <Td> 15,360 </Td> <Td> Town </Td> <Td> West Lothian </Td> </Tr> <Tr> <Th> 53 </Th> <Td> Port Glasgow </Td> <Td> 15,190 </Td> <Td> Town </Td> <Td> Inverclyde </Td> </Tr> <Tr> <Th> 54 </Th> <Td> Larkhall </Td> <Td> 15,020 </Td> <Td> Town </Td> <Td> South Lanarkshire </Td> </Tr> </Table> <Tr> <Th> Rank </Th> <Th> Locality </Th> <Th> Population </Th> <Th> Status </Th> <Th> Council area </Th> </Tr>

What are the 5 biggest cities in scotland
find me the text answering this question