there n hero fight arena initially ith hero a_i health pointsthe fight arena take place round at begin round alive hero deal 1 damage hero hit hero occur simultaneously heroe health 1 end round consider killedIf exactly 1 hero remain alive certain round declare winner otherwise winnerYour task calculate number way choose initial health point hero a_i 1 le a_i le x winner fight the number way large print modulo 998244353 two way consider different hero different health for example 1 2 1 2 1 1 different