#include <bits/stdc++.h>
using namespace std;
const int N = 2e6 + 4;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, l, r;
  cin >> n >> l >> r;
  int a[n + 1];
  int b[n + 1];
  vector<int> v1, v2;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if ((i <= r) && (i >= l)) {
      v1.push_back(a[i]);
    }
  }
  for (int i = 1; i <= n; i++) {
    cin >> b[i];
    if ((i <= r) && (i >= l)) {
      v2.push_back(b[i]);
    } else {
      if (b[i] != a[i]) {
        cout << "LIE";
        return 0;
      }
    }
  }
  sort(v1.begin(), v1.end());
  sort(v2.begin(), v2.end());
  for (int i = 0; i < v1.size(); i++) {
    if (v1[i] != v2[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
  return 0;
}
