#include <bits/stdc++.h>
using namespace std;
map<int, int> m1;
map<int, int> m2;
map<int, int>::iterator it;
int main() {
  int n, l, r;
  cin >> n >> l >> r;
  int ms[n + 1];
  int q[n + 1];
  for (int i = 1; i <= n; i++) {
    cin >> ms[i];
  }
  for (int i = 1; i <= n; i++) {
    cin >> q[i];
  }
  for (int i = 1; i < l; i++) {
    if (ms[i] != q[i]) {
      cout << "LIE";
      return 0;
    }
  }
  for (int i = r + 1; i <= n; i++) {
    if (ms[i] != q[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
}
