#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios_base::sync_with_stdio(false);
  int n, i, l, r;
  cin >> n >> l >> r;
  vector<int> a, b;
  int c, x = 0;
  for (i = 0; i < n; i++) {
    cin >> c;
    a.push_back(c);
  }
  for (i = 0; i < n; i++) {
    cin >> c;
    b.push_back(c);
    if (i < l - 1 && a[i] != b[i]) x++;
    if (i >= r && a[i] != b[i]) x++;
  }
  if (x != 0) {
    cout << "LIE";
    exit(0);
  }
  sort(a.begin() + l - 1, a.begin() + r);
  sort(b.begin() + l - 1, b.begin() + r);
  for (i = l - 1; i < r; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      exit(0);
    }
  }
  cout << "TRUTH";
}
