require 'prime' y, x = gets.split.map(&:to_i) a = [(y + 1...Float::INFINITY).find { |i| Prime.prime?(i) }, 10**1333].min b = [(x + 1...Float::INFINITY).find { |i| Prime.prime?(i) }, 10**1333].min c = a - y d = b - x puts [:Second, :First][c + d & 1]