#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  l--;
  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];
  sort(a.begin() + l, a.begin() + r);
  sort(b.begin() + l, b.begin() + r);
  bool res = true;
  for (int i = 0; i < n; i++)
    if (a[i] != b[i]) res = false;
  if (res)
    cout << "TRUTH";
  else
    cout << "LIE";
}
