#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c = 0, i, j, n, l, r;
  cin >> n >> l >> r;
  vector<int> p, v;
  for (i = 0; i < n; i++) {
    cin >> a;
    p.push_back(a);
  }
  for (i = 0; i < n; i++) {
    cin >> a;
    v.push_back(a);
  }
  for (i = 0; i < l - 1; i++) {
    if (p[i] != v[i]) {
      c = 1;
      break;
    }
  }
  for (i = r; i < n; i++) {
    if (p[i] != v[i]) {
      c = 1;
      break;
    }
  }
  if (c)
    cout << "LIE";
  else
    cout << "TRUTH";
}
