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