Waylon Tritangle
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

Waylon Tritangle is a kind of pattern which is widely used everywhere. In a Waylon Tritangle, the i^{th} floor from top has i same blocks adjacently, and all floors' blocks are centered. For example, the following picture shows a 5-floored Waylon Tritangle.
Today, our old friend Waylon build such a n-floored Waylon Tritangle Wall in City University of Hong Kong(Dongguan), after that, Yuangq takes millions of same green cards sized as exactly 2 blocks to cover the wall. Since green cards will look terrible onced been torn apart, he hopes that no green cards should be tear apart, so all green cards must cover exactly 2 blocks.

Since Yuangq is extraordinarily passionate on Math, he also expects to figure out how many different results of colored Waylon Tritangle Wall can he colors into. So, your task is to calculate that for him!

输入描述:

The first line contains a single integer T (1 \leq T \leq 10^3) — the number of test cases. Then T test cases follow.

Each test case contains a single integer n (1 \leq n \leq 10^5) — the height of Waylon Tritangle Wall.

输出描述:

For each test case, output how many different results of Waylon Tritangle Wall can Yuangq colors into in a single line. Since the result might be too huge, please output the answer after taking module to 998244353.
示例1

输入

复制
4
1
2
3
32749

输出

复制
1
2
6
771456293

说明

As for test case 2, the first possible result is to do nothing:
The second possible result is to cover the 2^{ed} floor:

So, there are totally 2 different results of Waylon Tritangle Wall can Yuangq colors into.