n, m = map(int, input().split()) A = list(map(int, input().split())) B = list(map(int, input().split())) x = 0 y = 0 for a in A: x ^= a for b in B: y ^= b if x > 0 or y == 0: print("First") else: print("Second")