110010
11
11010
//
// Created by liyuanshuo on 2017/2/26.
//
#include <iostream>
using namespace std;
int ma22n()
{
string str;
while(cin>>str)
{
int len=str.size();
int flag=0,j;
for(int i=0; i<len; i++)
{
if(str[i]=='0')
{
j=i;
flag=1;
break;
}
}
if(flag==0)
{
for(int i=0; i<len-1; i++)
cout<<str[i];
cout<<endl;
}
else
{
for(int i=0; i<len; i++)
{
if(i!=j)
cout<<str[i];
}
cout<<endl;
}
}
return 0;
}