#!/usr/bin/env python3 #! -*- coding: utf-8 -*- def main(): n, k = map(int, input().split(' ')) print(2**n // 2**k) if __name__ == '__main__': import sys sys.exit(main())