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