#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 23;
int a[100000 + 23];
int b[100000 + 23];
int c[100000 + 23];
int d[100000 + 23];
bool ans;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    c[a[i]]++;
  }
  for (int i = 1; i <= n; i++) {
    cin >> b[i];
    d[b[i]]++;
  }
  for (int i = 1; i <= n; i++) {
    if (c[i] != d[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (int i = 1; i < l; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (int i = r + 1; i <= n; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
  return 0;
}
