#include<stdio.h>
int main(){
int x = 1,d = 1;
while(d<10){

x = (x + 1)*2;
d++;
}

printf("x=%d",x);

return 0;
}