#include <stdio.h> void main(){ int x1,x2=1,day=9; while(day>0){ x1 = (x2+1)*2; x2 = x1; day--; } printf("%d",x1); }