Multiple?

아직 제출이 없습니다시간 제한6초메모리 제한256 MB

문제

Given an integer nn, the sequence is called good if its elements are from \[1,n]\[1, n] and all its non-empty subsequences (not necessarily continuous) have sums not divisible by nn.

Calculate the number of good sequences of length nkn-k modulo 998,244,353998\\,244\\,353.

입력

The only line of input contains two integers nn and kk (1kn/4<n<998,244,3531 \le k \le n/4 < n < 998\\,244\\,353).

출력

Print one number --- the answer to the problem.