#include <bits/stdc++.h>
using namespace std;
int a[1000000], b[1000000], c[1000000], d[1000000];
int main() {
  int i, j, k, m, n;
  cin >> n >> m >> k;
  for (i = 1; i <= n; i++) {
    cin >> a[i];
    if (i >= m && i <= k) c[a[i]]++;
  }
  for (i = 1; i <= n; i++) {
    cin >> b[i];
    if (i >= m && i <= k) d[b[i]]++;
  }
  for (i = 1; i < m; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (i = k + 1; i <= n; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (i = m; i <= k; i++) {
    if (c[a[i]] != d[a[i]]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
  return 0;
}
