50 50 50 50
 49 49 4 1
 48 50 12 11
 5 7 1 10
 1 50 50 50
 5 7 1 4
 32 4 17 3
 1 50 1 50
 50 1 1 1
 32 31 10 9
 5 7 4 1
 49 49 3 3
 50 49 1 2
 50 48 3 1
 50 1 1 50
 5 7 10 10
 1 1 1 1
 49 50 11 12

Second
 Second
 Second
 Second
 Second
 Second
 First
 Second
 First
 First
 Second
 Second
 First
 First
 First
 Second
 Second
 Second

import java.util.Scanner;


public class Game {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		int k=0;
		Scanner vk = new Scanner(System.in);
        int n1 = vk.nextInt();
        int n2 = vk.nextInt();
        int k1 = vk.nextInt();
        int k2  = vk.nextInt();
        while((n1>0)||(n2>0)){
        	if(k%2==0){
        		n1 -= 1;
        		if(n1==0){
        			break;
        		}
        		//System.out.println(n1);
        		k++;
        	}
        	else{
        		n2 -= 1;
        		if(n2==0){
        			break;
        		}
        		//System.out.println(n2);
        		k++;
        	}
        }
        if(n1==0){
        	System.out.println("SECOND");
        }
        else if(n2==0){
        	System.out.println("FIRST");
        }
        vk.close();
	}

}
