#include <bits/stdc++.h>
using namespace std;
double PI = 2 * acos(0);
std::vector<int> vi;
long long n, l, r;
int a[100000], b[100000];
int main(int argc, char const *argv[]) {
  cin >> n >> l >> r;
  l--;
  r--;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int i = 0; i < n; i++) {
    cin >> b[i];
    if ((i < l || i > r) && a[i] != b[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  cout << "TRUTH" << endl;
  return 0;
}
