#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
int a[MAX];
int b[MAX];
int main() {
  long long int n, l, r;
  cin >> n >> l >> r;
  long long int i;
  l--;
  r--;
  for (i = 0; i < n; i++) cin >> a[i];
  for (i = 0; i < n; i++) cin >> b[i];
  sort(a + l, a + r + 1);
  sort(b + l, b + r + 1);
  for (i = 0; i < n; i++) {
    if (a[i] != b[i]) break;
  }
  if (i == n) {
    cout << "TRUTH"
         << "\n";
  } else
    cout << "LIE"
         << "\n";
}
