#include <bits/stdc++.h>
using namespace std;

int main ()
{
	int x;
	long long y;
	cin >> x >> y;
	cout << (x << y);
}
