Software Version --hdu1976
#include
using namespace std;
int main()
{
int T;
cin>>T;
int a1,b1,c1;
int a2,b2,c2;
while(T--){
cin>>a1>>b1>>c1;
cin>>a2>>b2>>c2;
if(a1>a2 || (a1==a2 && b1>b2) || (a1==a2 && b1==b2 && c1>c2))
cout<<"First"<