#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n, l, r;
  cin >> n >> l >> r;
  vector<long long int> a(n + 1), b(n + 1);
  for (long long int i = 1; i <= n; i++) cin >> a[i];
  for (long long int i = 1; i <= n; i++) cin >> b[i];
  sort(a.begin() + l, a.begin() + r + 1);
  sort(b.begin() + l, b.begin() + r + 1);
  for (long long int i = 1; i <= n; i++) {
    if (a[i] != b[i]) {
      cout << "LIE" << endl;
      exit(0);
    }
  }
  cout << "TRUTH" << endl;
}
