#include <bits/stdc++.h>
using namespace std;
int main() {
  register int n, l, r;
  cin >> n >> l >> r;
  register int a[n], b[n];
  bool flag = true;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) cin >> b[i];
  sort(a + l - 1, a + r);
  sort(b + l - 1, b + r);
  for (int i = 0; i < n; i++) {
    if (a[i] != b[i]) {
      flag = false;
      break;
    }
  }
  cout << (flag ? "TRUTH" : "LIE");
}
