#T456. OJ系统版本

OJ系统版本

Description

The CodesOnlineOJ system has undergone many version updates, each with a unique version number. The OJ version number consists of three parts: major version number, minor version number, and revision number. When the OJ undergoes a major update, the major version number increments by one; when the OJ adds some features on top of the existing version, the major version number remains unchanged, and the minor version number increments by one; when the OJ only fixes some bugs, both the major and minor version numbers remain unchanged, and the revision number increments by one.

When comparing the versions of two OJ systems, we first compare the major version numbers. If they are the same, we then compare the minor version numbers. If both the major and minor version numbers are identical, we compare the revision numbers. The OJ system with the larger version number is the newer one.

Now, Xiao Tu is facing a dilemma when choosing between two OJ versions. Please help Xiao Tu determine which OJ version is newer.

Input Format

The first line of input contains an integer T, representing the number of test cases. This is followed by T test cases.

Each test case consists of two lines. The first line contains three integers representing the major version number, minor version number, and revision number of the first OJ version. The second line also contains three integers representing the major version number, minor version number, and revision number of the second OJ version.

All integers in the input fall within the range [0, 1000].

Output Format

For each test case, if the first OJ version is newer, output "First". If the second OJ version is newer, output "Second". Otherwise, output "Same".

```input1 3 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ``` ```output1 Second First Same ``` ## Translation

CodesOJ original adapted problem