#include<stdio.h> main() { int x=1,i; scanf("%d",&i); for(i;i>0;i--) x=(x+1)*2; printf("%d",x); }
Double click to view unformatted code.