#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  vector<int> v(n);
  vector<int> u(n);
  for (size_t i = 0; i < n; ++i) {
    cin >> v[i];
  }
  for (size_t i = 0; i < n; ++i) {
    cin >> u[i];
  }
  for (size_t i = 0; i < l - 1; ++i) {
    if (v[i] != u[i]) {
      cout << "LIE" << endl;
      exit(0);
    }
  }
  for (size_t i = r; i < n; ++i) {
    if (v[i] != u[i]) {
      cout << "LIE" << endl;
      exit(0);
    }
  }
  for (size_t i = 0; i < r - l + 1; ++i) {
    v[i] = v[l - 1 + i];
    u[i] = u[l - 1 + i];
  }
  v.resize(r - l + 1);
  u.resize(r - l + 1);
  sort(v.begin(), v.end());
  sort(u.begin(), u.end());
  if (v != u) {
    cout << "LIE" << endl;
  } else {
    cout << "TRUTH" << endl;
  }
  return 0;
}
