#include <stdio.h>

int main()
{
	int N;
	scanf("%d", &N);
	printf("%d\n", 1 << N); //数字是以二进制储存, N次方便向左移动N个二进制位
	return 0;
}