N, K = map(int, input().split()) def inverse(n, d): return n * pow(d, -1, MOD) % MOD MOD = 998244353 print(inverse(1, 6))