#include <bits/stdc++.h>
using namespace std;
const int MIN = 1e3 + 2;
const int MXN = 1e6 + 3;
const int INF = 1e9 + 7;
const double EPS = 1e-9;
const long long LINF = 1e18 + 15;
int n, a[MXN], b[MXN], l, r;
int c[MXN], d[MXN], ans, ans2;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  for (int i = 1; i <= n; i++) {
    cin >> b[i];
  }
  sort(a + l, a + r + 1);
  sort(b + l, b + r + 1);
  for (int i = l; i <= n; i++) {
    if (i <= r && a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
    a[i] = a[i + r - l + 1];
    b[i] = b[i + r - l + 1];
  }
  for (int i = 1; i <= n - r + l - 1; i++) {
    if (a[i] != b[i]) {
      cout << "LIE";
      return 0;
    }
  }
  cout << "TRUTH";
  return 0;
}
