#include<bits/stdc++.h>
using namespace std;
int a,b,c,d;
int main(){
    cin>>a>>b>>c;
    if(abs(a-b)==1)
        d++;
    if(abs(a-c)==1)
        d++;
    if(abs(b-c)==1)
        d++;
    if(d==2)
        cout<<"TRUE";
    else
        cout<<"FALSE";
}
/**************************************************************
	Problem: 1041
	User: wengsihan
	Language: C++
	Result: Accepted
	Time:52 ms
	Memory:2072 kb
****************************************************************/