n,l=map(int,input().split()) ans=1 if n<=l: print("1") exit() print((2**(n-l+1))%998244353)