#27586: _CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)


 
int main(){
int n, r;
bool head;
while (cin >> n){
if (n==0)
cout << 0 <<endl;
head=true;
while (n>0){
r=n%10;
n=n/10;
if (head && r==0)
continue;
cout << r;
head=false;
}
cout <<endl;
}
return 0;
}