#include<bits/stdc++.h> using namespace std; int main(){ int n=0; for(int i=1;i<=30;i++){ n=n+pow(2,i-1); cout<<n<<" "; } return 0; }