s='''FivescoreyearsagoagreatAmericaninwhosesymbolicshadowwestandtodaysignedtheEmancipationProclamationThismomentousdecreecameasagreatbeaconlightofhopetomillionsofNegroslaveswhohadbeensearedintheflamesofwitheringinjusticeItcameasajoyousdaybreaktoendthelongnightofbadcaptivityButonehundredyearslatertheNegrostillisnotfreeOnehundredyearslaterthelifeoftheNegroisstillsadlycrippledbythemanaclesofsegregationandthechainsofdiscriminationOnehundredyearslatertheNegrolivesonalonelyislandofpovertyinthemidstofavastoceanofmaterialprosperityOnehundredyearslatertheNegroisstilllanguishedinthecornersofAmericansocietyandfindshimselfanexileinhisownlandSowevecomeheretodaytodramatizeashamefulconditionIamnotunmindfulthatsomeofyouhavecomehereoutofgreattrialsandtribulationsSomeofyouhavecomefreshfromnarrowjailcellsSomeofyouhavecomefromareaswhereyourquestforfreedomleftyoubatteredbythestormsofpersecutionandstaggeredbythewindsofpolicebrutalityYouhavebeentheveteransofcreativesufferingContinuetoworkwiththefaiththatunearnedsufferingisredemptiveGobacktoMississippigobacktoAlabamagobacktoSouthCarolinagobacktoGeogiagobacktoLouisianagobacktotheslumsandghettosofournortherncitiesknowingthatsomehowthissituationcanandwillbechangedLetusnotwallowinthevalleyofdespairIsaytoyoutodaymyfriendssoeventhoughwefacethedifficultiesoftodayandtomorrowIstillhaveadreamItisadreamdeeplyrootedintheAmericandreamIhaveadreamthatonedaythisnationwillriseupliveuptothetruemeaningofitscreedWeholdthesetruthstobeselfevidentthatallmenarecreatedequalIhaveadreamthatonedayontheredhillsofGeorgiathesonsofformerslavesandthesonsofformerslaveownerswillbeabletositdowntogetheratthetableofbrotherhoodIhaveadreamthatonedayeventhestateofMississippiastateswelteringwiththeheatofinjusticeswelteringwiththeheatofoppressionwillbetransformedintoanoasisoffreedomandjusticeIhaveadreamthatmyfourchildrenwillonedayliveinanationwheretheywillnotbejudgedbythecoloriftheirskinbutbythecontentoftheircharacterIhaveadreamtodayIhaveadreamthatonedaydowninAlabamawithitsgovenorhavinghislipsdrippingwiththewordsofinterpositionandnullificationonedayrightdowninAlabamalittleblackboysandblackgirlswillbeabletojoinhandswithlittlewhiteboysandwhitegirlsassistersandbrothersIhaveadreamtodayIhaveadreamthatonedayeveryvalleyshallbeexaltedeveryhillandmountainshallbemadelowtheroughplaceswillbemadeplainandthecrookedplaceswillbemadestraightandthegloryoftheLordshallberevealedandallfleshshallseeittogetherThisisourhopeThisisthefaiththatIgobacktotheSouthwithWiththisfaithwewillbeabletohewoutofthemountainofdespairastoneofhopeWiththisfaithwewillbeabletotransformthejanglingdiscordsofournationintoabeautifulsymphonyofbrotherhoodWiththisfaithwewillbeabletoworktogethertopraytogethertostruggletogethertogotojailtogethertostandupforfreedomtogetherknowingthatwewillbefreeonedayThiswillbethedaywhenallofGodschildrenwillbeabletosingwithnewmeaningMycountrytisoftheeSweetlandoflibertyOftheeIsingLand where my fathers diedLandofthepilgrimsprideFromeverymountainsideLetfreedomringAndifAmericaistobeagreatnationthismustbecometrueSoletfreedomringfromtheprodigioushilltopsofNewHampshireLetfreedomringfromthemightymountainsofNewYorkLetfreedomringfromtheheighteningAllegheniesofPennsylvaniaLetfreedomringfromthesnowcappedRockiesofColoradoLetfreedomringfromthecurvaceousslopsofCaliforniaButnotonlythatletfreedomringfromStoneMountainofGeorgiaLetfreedomringfromLookoutMountainofTennesseeLetfreedomringfromeveryhillandmolehillofMississippiFromeverymountainsideletfreedomringWhenweletfreedomringwhenweletitringfromeveryvillageandeveryhamletfromeverystateandeverycitywewillbeabletospeedupthatdaywhenallofGodschildrenblackmenandwhitemenJewsandGentilesProtestantsandCatholicswillbeabletojoinhandsandsinginthewordsoftheoldNegrospiritualFreeatlastfreeatlastthankGodalmightywearefreeatlast'''
t = s.lower()
for alphabet in "abcdefghijklmnopqrstuvwxyz" :
number = t.count(alphabet)
print(alphabet,number)