#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int i, j;
  long long int n, l, r;
  cin >> n >> l >> r;
  long long int a[n + 5], b[n + 5];
  for (i = 1; i <= n; i++) cin >> a[i];
  for (i = 1; i <= n; i++) cin >> b[i];
  int check = 0;
  for (i = 1; i <= l - 1; i++) {
    if (a[i] != b[i]) {
      check = 1;
      break;
    }
  }
  for (i = r + 1; i <= n; i++) {
    if (a[i] != b[i]) {
      check = 1;
      break;
    }
  }
  vector<long long int> va, vb;
  for (i = l; i <= r; i++) {
    va.push_back(a[i]);
    vb.push_back(b[i]);
  }
  sort(va.begin(), va.end());
  sort(vb.begin(), vb.end());
  for (i = 0; i < va.size(); i++) {
    if (va[i] != vb[i]) {
      check = 1;
      break;
    }
  }
  if (check == 1)
    cout << "LIE\n";
  else
    cout << "TRUTH\n";
}
