#include<iostream>
#include<string>
#include<cstring>
using namespace std;
int main()
{
string a("Mewa wa mey twsam iepjoys gt mey ipbya.Pa xgn iph ayy, meysy wa hgmewhr gt whmysyam wh mey iepjoys.Agjy gt mey kpmys iepjoysa vwkk oy jgsy whmysyamwhr meph mewa ghy, hg cgly! Mey iguy nayu tgs mewa jyaapry wa p awjfky anoamwmnmwgh iwfeys wh vewie uwrwma epby oyyh aewtmyu ox 8 fkpiya.Mey fpaavgsu wa rwbyh oykgv, vwmegnm mey dngmya.");
int length = a.length();
//cout<<length;
int c[26];
for(int i=0;i<26;i++)
{
c[i] = 0;
}
for(int i=0;i<332;i++)
{
char ch = a[i];
switch(ch)
{
case 'a' : c[0]++;
break;
case 'A' : c[0]++;
break;
case 'b' : c[1]++;
break;
case 'c' : c[2]++;
break;
case 'd' : c[3]++;
break;
case 'e' : c[4]++;
break;
case 'f' : c[5]++;
break;
case 'g' : c[6]++;
break;
case 'h' : c[7]++;
break;
case 'i' : c[8]++;
break;
case 'j' : c[9]++;
break;
case 'k' : c[10]++;
break;
case 'l' : c[11]++;
break;
case 'm' : c[12]++;
break;
case 'n' : c[13]++;
break;
case 'o' : c[14]++;
break;
case 'p' : c[15]++;
break;
case 'q' : c[16]++;
break;
case 'r' : c[17]++;
break;
case 's' : c[18]++;
break;
case 't' : c[19]++;
break;
case 'u' : c[20]++;
break;
case 'v' : c[21]++;
break;
case 'w' : c[22]++;
break;
case 'x' : c[23]++;
break;
case 'y' : c[24]++;
break;
case 'z' : c[25]++;
break;
case 'M' : c[12]++;
break;
case 'P' : c[14]++;
break;
default : break;
}
}
for(int i=0;i<26;i++)
{
cout << c[i] << endl;
}
//char ch
//switch()
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPHN0cmluZz4KI2luY2x1ZGU8Y3N0cmluZz4KCgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CglzdHJpbmcgYSgiTWV3YSB3YSBtZXkgdHdzYW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