let define function f multiset multiset number occurence number present aeg f5 5 1 2 5 2 3 3 9 5 1 1 2 2 4let define fka apply f array k times fka ffk1a f0a Eg f25 5 1 2 5 2 3 3 9 5 1 2 2you give integer n k ask different value function fka arbitrary nonempty array number size n Print answer modulo 998244353