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