#include <iostream>
#include <algorithm>
using namespace std;

bool areConsecutive(int a, int b, int c) {
    int max_val = max({a, b, c});
    int min_val = min({a, b, c});
    return (max_val - min_val) == 2 && (a - b) * (b - c) * (c - a) != 0;
}

int main() {
    int a, b, c;
    cin >> a >> b >> c;
    if (areConsecutive(a, b, c)) {
        cout << "TRUE" << endl;
    } else {
        cout << "FALSE" << endl;
    }
    return 0;
}
/**************************************************************
	Problem: 1677
	User: fuhoubin
	Language: C++
	Result: Wrong Answer
****************************************************************/