There are \(n\) players passing ball on the football field.
Initially, the first player has the ball. Then each second, the player with ball should pass the ball to any other player.
Alice wonders how many way to pass the ball, such that after \(t\) seconds, the ball will turn back to the first player. So she asks Bob for help.
Now, Bob solved the question and found that the answer modulo \(998244353\) is \(x\). But he forgot the exact number of \(t\). So he ask you for help, to find the smallest non-negative integer \(t\), such that the answer of Alice's question modulo \(998244353\) will be \(x\).