#include<iostream> using namespace std; int main(){ int n=1; for(int i=1;i<=30;i++){ cout<<n<<endl; n=n*2+1; } return 0; }