#include <bits/stdc++.h>
using namespace std;
int n, l, r;
bool lie;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  ;
  cin >> n >> l >> r;
  l--, r--;
  int arr1[n], arr2[n];
  for (int i = 0; i < n; i++) cin >> arr1[i];
  for (int i = 0; i < n; i++) cin >> arr2[i];
  sort(arr1 + l, arr1 + (r + 1));
  sort(arr2 + l, arr2 + (r + 1));
  for (int i = l; i <= r; i++) {
    if (arr1[i] != arr2[i]) lie = 1;
  }
  for (int i = 0; i < n; i++)
    if ((i < l || i > r) && arr1[i] != arr2[i]) lie = 1;
  if (lie)
    cout << "LIE" << endl;
  else
    cout << "TRUTH" << endl;
  return 0;
}
