g = [0]*68 for i in range(4,68): s = set() for j in range(2,i-1): s.add(g[j]^g[i-j]) for j in range(69): if j not in s: g[i] = j; break for _ in range(int(input())): a,b = map(int,input().split()) print("First" if g[min(a,a%34+34)]^g[min(b,b%34+34)] else "Second")