#include <bits/stdc++.h>
using namespace std;
const int SIZE = (int)3e5 + 5;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n, l, r;
  int I[100005], II[100005];
  cin >> n >> l >> r;
  for (int i = 1; i <= n; i++) {
    cin >> I[i];
  }
  for (int i = 1; i <= n; i++) cin >> II[i];
  sort(I + l, I + r + 1);
  sort(II + l, II + r + 1);
  for (int i = 1; i <= n; i++) {
    if (I[i] != II[i]) {
      cout << "LIE" << '\n';
      return 0;
    }
  }
  cout << "TRUTH" << '\n';
  return 0;
}
