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