import typing import sys input = lambda: sys.stdin.readline().strip() inf = 10**18 mod = 998244353 import numpy as np def solve(): N, M, K = map(int, input().split()) A = [[0 for _ in range(1 << N)] for _ in range(1 << N)] for i in range(1 << N): for j in range(1 << N): if (i&j).bit_count() >= K: A[i][j] = 1 As = [np.array(A)] for _ in range(15): As.append(As[-1]@As[-1]) As[-1]%=mod dp = np.ones(1<