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