#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, l, r, i;
  cin >> n >> l >> r;
  vector<pair<int, int> > vec(n + 1);
  for (i = 1; i < n + 1; ++i) cin >> vec[i].first;
  for (i = 1; i < n + 1; ++i) cin >> vec[i].second;
  for (i = 1; i < l; ++i) {
    if (vec[i].first != vec[i].second) {
      cout << "LIE";
      return 0;
    }
  }
  for (i = r + 1; i < n + 1; ++i) {
    if (vec[i].first != vec[i].second) {
      cout << "LIE";
      return 0;
    }
  }
  vector<int> qua;
  vector<int> qub;
  for (i = l; i < r + 1; ++i) {
    qua.push_back(vec[i].first);
    qub.push_back(vec[i].second);
  }
  sort(qua.begin(), qua.end());
  sort(qub.begin(), qub.end());
  for (i = 0; i < qua.size(); ++i) {
    if (qua[i] != qub[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
}
