Let's define a sequence of Gray Codes $$$G_n$$$ as follows:
| 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 |
| 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
| 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
The table $$$T_3$$$
Two cells in the table are adjacent if they share a side. The distance between cells $$$(a, b)$$$ and $$$(c, d)$$$, satisfying $$$T_n(a, b) = T_n(c, d) = 1$$$, is defined as the minimal number of moves needed to get from one cell to the other moving only on cells that are $$$1$$$'s. Given $$$n$$$, your task is to calculate the sum of distances between every ordered pair of cells modulo 998 244 353.
The first line of input contains one integer $$$n$$$ ($$$1 \leq n \leq 200\,000$$$).
Print one line containing the answer.
2
20
| Name |
|---|


