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