#include <bits/stdc++.h>
using namespace std;
int n, l, r;
bool check() {
  unordered_map<int, int> map;
  vector<int> a(n), b(n);
  for (auto &i : a) {
    cin >> i;
    map[i]++;
  }
  for (auto &i : b) {
    cin >> i;
    map[i]--;
  }
  for (auto &p : map) {
    if (p.second != 0) return false;
  }
  for (int i = 0; i < l; i++) {
    if (a[i] != b[i]) return false;
  }
  for (int i = r + 1; i < n; i++) {
    if (a[i] != b[i]) return false;
  }
  map.clear();
  for (int i = l; i <= r; i++) {
    map[a[i]]++;
    map[b[i]]--;
  }
  for (auto &p : map) {
    if (p.second != 0) return false;
  }
  return true;
}
int main() {
  cin >> n >> l >> r;
  l--;
  r--;
  cout << (check() ? "TRUTH" : "LIE");
  return 0;
}
