#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  l--;
  r--;
  int f[100001];
  int a[100001];
  int b[100001];
  for (int i = 0; i < 100001; i++) {
    f[i] = 0;
    a[i] = 0;
    b[i] = 0;
  }
  for (int i = 0; i < n; i++) {
    int t;
    cin >> a[i];
    if (i >= l && i <= r) {
      f[a[i]]++;
    }
  }
  for (int i = 0; i < n; i++) {
    int t;
    cin >> b[i];
    if (i >= l && i <= r) {
      f[b[i]]--;
    }
  }
  for (int i = 0; i < 100001; i++) {
    if (f[i] != 0) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  for (int i = 0; i < l; i++) {
    if (a[i] != b[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  for (int i = r + 1; i < n; i++) {
    if (a[i] != b[i]) {
      cout << "LIE" << endl;
      return 0;
    }
  }
  cout << "TRUTH" << endl;
  return 0;
}
