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