eolymp
bolt
Try our new interface for solving problems
Problems

Boards (Easy)

Boards (Easy)

Super Board Games Inc. is a big company producing board games. A new game was invented within it which may become very popular. A board divided into square cells is required for this game. Left and lower borders of the board should be level and the height of columns of cells should not increase from left to right. Also the board must be entirely paveable with dominoes. After it was found out that the game is the most interesting when played on the board consisting of \textbf{n} cells, it has been decided to release as many versions of the game using different \textbf{n}-cell boards as possible. Help the company count the number of different boards that can be released. \includegraphics{https://static.e-olymp.com/content/69/69bf4b03e9d254b8f44e85de1316b9fb6b39b3c4.jpg} Fig. 1: An example of two boards of the eight cells: a valid (left) and which can not be a domino tile dies (right). \InputFile The first line of input is number \textbf{T} (\textbf{1} ≤ \textbf{T} ≤ \textbf{20}) --- the amount of test cases. Each test is a single integer \textbf{n} (\textbf{1} ≤ \textbf{n} ≤ \textbf{20}) the number of cells. \OutputFile For each test case output the answer to the problem in the statement.
Time limit 1 second
Memory limit 64 MiB
Input example #1
3
2
3
4
Output example #1
2
0
5