require 'prime' def solve(y, x) if y.prime? || x.prime? return true else t = 0 while t == 0 || !y.prime? t += 1 y += 1 end while t == 0 || !x.prime? t += 1 x += 1 end return (t-2).even? ? false : true end end y,x = gets.split.map(&:to_i) puts solve(y, x) ? "First" : "Second"