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