//#include <iostream>
//
//using namespace std;
//
//int main()
//{
// cout << "Hello world!" << endl;
// return 0;
//}
/*
#include <iostream>
#include <string.h>
using namespace std;
class Person
{
string name;
string tel;
public:
Person()
{
name=" ";
tel=" ";
}
~Person() {}
string getname()
{
return name;
}
string gettel()
{
return tel;
}
void sett(string name1, string tel1)
{
name=name1;
tel=tel1;
}
};
int main()
{
Person *parr = new Person [3];
string name;
string tel;
for(int i=0; i<3; i++)
{
cout << "사람 " << i+1 << "<<";
cin >> name >> tel;
parr[i].sett(name,tel);
}
cout << "모든 사람의 이름은 ";
for(int i=0; i<3; i++)
{
cout << parr[i].getname() << ' ';////그냥 getname 만 쓰는거 아님.
}
cout << "전화번호 검색합니다. 이름을 입력하세요>> ";
cin >> name; //// 새로 이름 받기
for(int i=0;i<3;i++)
{
if(name==parr[i].getname()) ////parr에 저장해둔 이름이랑 비교
{
cout << parr[i].gettel(); ////new 써서 화살표가 아니라 점써야됨
break;
}
}
}*/
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include <iostream>
using namespace std;
class Container
{
int size;
public:
Container()
{
size=10;
}
void fill();
void consume();
int getSize();
};
void Container::fill()
{
size=10;
}
void Container::consume()
{
size--;
}
int Container::getSize()
{
return size;
}
class CVM
{
Container tong[3];
void fill();
void selectA();
void selectE();
void selectSC();
void show();
public:
void run();
};
void CVM::fill()
{
tong[0].fill();
tong[1].fill();
tong[2].fill();
cout << "커피 " << tong[0].getSize() << "물" << tong[1].getSize() << "설탕 " << tong[2].getSize();
}
void CVM::selectA()
{
tong[0].consume();
tong[0].consume();
tong[1].consume();
}
void CVM::selectE()
{
tong[0].consume();
tong[1].consume();
}
void CVM::selectSC()
{
tong[0].consume();
tong[1].consume();
tong[1].consume();
tong[2].consume();
}
void CVM::show()
{
cout << "커피 " << tong[0].getSize() << "물" << tong[1].getSize() << "설탕 " << tong[2].getSize();
}
void CVM::run()
{
int n;
cout << "커피 자판기를 작동합니다." << endl;
for(;;)
{
cout << "메뉴를 눌러주세요(1:에스프레소 2:아메리카노 3:설탕커피 4:잔량보기 5:채우기)>>";
cin >> n;
if(n==1)
{
if(tong[0].getSize()!=0&&tong[1].getSize()!=0)
{
selectE();
cout << "에스프레소 드세요 ";
}
}
if(n==2)
{
if(tong[0].getSize()!=0&&tong[1].getSize()<=1)
{
selectA();
cout << "아메리카노 드세요 ";
}
}
if(n==3)
{
if(tong[0].getSize()!=0&&tong[2].getSize()<=1&&tong[3].getSize()!=0)
{
selectSC();
cout << "설탕커피 드세요 ";
}
}
if(n==4)
{
show();
}
if(n==5)
{
fill();
}
}
}
int main()
{
CVM coffee;
coffee.run();
}+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#include <iostream>
#include <string.h>
#include <ctype.h>
using namespace std;
class histogram{
public:
void put(string str);
void putc(char c);
void print();
};
/*void histogram::put()
{
}
void histogram::putc()
{
}*/
int main()
{
histogram histo;
string str2;
getline(cin,str2);
int len;
len=str2.length();
if(isalpha(str2))
{
histo.put();
}
else histo.putc();
for(int i=0;i<len;i++)
{
str2[i]=tolower(str2[i]);
}
histogram elvisHisto()
cout << str2;
}
//https://blockdmask.tistory.com/448



