AT_fps_24_m 連結グラフ

Description

Count the number of simple **connected** undirected graphs with $ N $ vertices labeled $ 1 $ through $ N $ . Output the result modulo $ 998244353 $ .

Input Format

The input is given from standard input in the following format: > $ N $

Output Format

Print the answer.

Explanation/Hint

### Sample Explanation 1 For $ N=3 $ , the simple connected undirected graphs are: - $ 3 $ graphs with $ 2 $ edges, - $ 1 $ graph with $ 3 $ edges, for a total of $ 4 $ . ### Constraints - $ 1 \leq N \leq 2.5 \times 10^5 $ - $ N $ is an integer