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