using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); public static void Main() { Solve(); } static void Solve() { var c = NList; var (x, y) = (c[0], c[1]); var xisprime = IsPrime(x); var yisprime = IsPrime(y); var nextx = x + 1; while (!IsPrime(nextx)) ++nextx; var nexty = y + 1; while (!IsPrime(nexty)) ++nexty; if (xisprime && yisprime) { WriteLine("Second"); return; } if (x == 2 || y == 2) { WriteLine("Second"); return; } var rest = nextx - x - 1 + nexty - y - 1; WriteLine(rest % 2 == 0 ? "Second" : "First"); } static bool IsPrime(int a) { if (a < 2) return false; if (a < 4) return true; for (var i = 2; i * i <= a; ++i) { if (a % i == 0) return false; } return true; } }