#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
  int n, m, x;
  cin >> n >> m;
  for (int i = 0; i < n; ++i) {
    cin >> x;
    if (x == m)
      cout << "Truth" << endl;
    else if (x > m)
      cout << "Lie" << endl;
    else
      cout << "Not defined" << endl;
  }
  return 0;
}
