#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r, x, d[100001];
  bool m = true;
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) {
    cin >> d[i];
  }
  for (int i = 1; i <= n; i++) {
    cin >> x;
    if (x != d[i] && i < l || (x != d[i] && i > r)) {
      m = false;
    }
  }
  if (m)
    cout << "TRUTH";
  else
    cout << "LIE";
  return 0;
}
