MOD = 998244353 N,M,K = map(int,input().split()) if M==1: ans = pow(2,N,MOD) else: dp = [[0 for _ in range((1<