#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int N;
setlocale(LC_ALL, "Russian");
cout << "N = ";
cin >> N;
cout << "2 ^ " << N << " = " << pow(2, N) << "\n";
}
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int N;
setlocale(LC_ALL, "Russian");
cout << "N = ";
cin >> N;
cout << "2 ^ " << N << " = " << pow(2, N) << "\n";
}