#include <bits/stdc++.h>
using namespace std;
const long long MAX = 1e9 + 10;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, l, r;
  cin >> n >> l >> r;
  vector<int> a(n), b(n), count(n, 0);
  bool possible = true;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    count[a[i] - 1]++;
  }
  for (int i = 0; i < n; i++) {
    cin >> b[i];
    count[b[i] - 1]--;
  }
  for (int i = 0; i < n; i++) {
    if (i + 1 < l || i + 1 > r) {
      if (a[i] != b[i]) possible = false;
    }
    if (count[i] != 0) possible = false;
  }
  if (possible)
    cout << "TRUTH\n";
  else
    cout << "LIE\n";
  return 0;
}
