#include<iostream>
usingnamespace std;
int main()
{
//here int x represent the base number and y represent the power number and z is initialized
int x,y,z;
cout<<"Please enter the number of which power is to be cacluated"<<endl;
cin>>x;
cout<<endl;
cout<<"Please enter the number up to which power is to be cacluated"<<endl;
cin>>y;
cout<<endl;
for(z=1; z=y; z++)
{
x=x+x;
}
cout <<"The final output is "<<x;
cout<<endl;
return 0;
}