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