import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int y = sc.nextInt(); int x = sc.nextInt(); int nextY = y; while (!isPrime(nextY)) { nextY++; } int nextX = x; while (!isPrime(nextX)) { nextX++; } if (x == nextX || y == nextY) { System.out.println("First"); } else if ((nextX - x - 1 + nextY - y - 1) % 2 == 0) { System.out.println("Second"); } else { System.out.println("First"); } } static boolean isPrime(int x) { if (x == 1) { return false; } for (int i = 2; i <= Math.sqrt(x); i++) { if (x % i == 0) { return false; } } return true; } }