#include
#include
using namespace std;
#define N 128
int main(){
char a[N+1];
while(cin>>a){
int n=strlen(a);
int b[n+1];
b[0]=0;
int i;
for(i=0;ib[i+1]=(a[i]-'0') << 1;//位运算
}
int t;
for(i=n;i>=1;i--){
t=b[i];
b[i] = t%10;
b[i-1] = b[i-1]+t/10;
}
if(b[0]==0){
for(i=1;i<=n;i++)
a[i-1]=b[i]+'0' ;
}
else{
for(i=0;i<=n;i++){
a[i]= b[i]+'0';
}
}
a[i]=0;
cout << a << endl;
}
system("pause");
}
#include
void main(){
printf("i don't know");
}