403172: GYM101061 A Cards

Memory Limit:64 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

A. Cardstime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard output

Omar has a deck of cards. Every card has a unique integer number written on it. He says that his cards are numbered starting from 1, and if a card with number N exists, then a card with number N + 1 exists. Yes he may have an infinite sequence !

Yesterday when he went to school, his little brother Samir played with his cards by sorting them into two boxes according to the numbers written on them by repeating the following two steps:

  1. Take the card with the smallest number, let it be X.
  2. Put the card with number X in the first box and put the card with number 2 * X in the second box.
So the first few numbers in the boxes will be:

First box : 1, 3, 4, 5, 7, ...

Second box : 2, 6, 8, 10, 14, ...

Omar came back home and he asked Samir for the card with number Q written on it. Help Samir to find out in which box he can find the required card.

Input

Your program will be tested on one or more test cases. The first line of the input will be a single integer T, the number of test cases .

T lines follow, each describing a test case consisting of a single integer Q (1 ≤ Q ≤ 1018)

Output

For every test case print "First Box" if the card is in the first box or "Second Box" otherwise.

ExampleInput
3
1
6
1024
Output
First Box
Second Box
First Box

加入题单

上一题 下一题 算法标签: