#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, l, r;
  cin >> n >> l >> r;
  l = l - 1;
  r = r - 1;
  vector<int> a(n), b(n);
  for (int i = 0; i < (n); ++i) cin >> a[i];
  for (int i = 0; i < (n); ++i) cin >> b[i];
  map<int, int> x, y;
  for (int i = l; i <= (r); ++i) {
    x[a[i]] += 1;
    y[b[i]] += 1;
  }
  bool islie = false;
  for (int i = 0; i < (l); ++i) {
    if (a[i] != b[i]) {
      islie = true;
      cout << "LIE" << endl;
      break;
    }
  }
  if (!islie) {
    for (int i = r + 1; i <= (n - 1); ++i) {
      if (a[i] != b[i]) {
        cout << "LIE" << endl;
        islie = true;
        break;
      }
    }
  }
  if (!islie) {
    for (auto& k : x) {
      if (x[k.first] != y[k.first]) {
        cout << "LIE" << endl;
        islie = true;
        break;
      }
    }
  }
  if (!islie) cout << "TRUTH" << endl;
}
