#include <bits/stdc++.h>
using namespace std;
int mabs(int i) { return abs(i) - 1; }
int main() {
  int n, m;
  cin >> n >> m;
  string s;
  vector<int> v;
  vector<int> guilty(n);
  vector<int> not_guilty(n);
  vector<bool> is_possible_killer(n);
  int not_guilty_sum = 0;
  for (int i = 0; i < n; ++i) {
    cin >> s;
    v.push_back(atoi(s.c_str()));
    if (v[i] > 0) {
      guilty[mabs(v[i])]++;
    } else {
      not_guilty[mabs(v[i])]++;
      not_guilty_sum++;
    }
  }
  int number_of_possible_killers = 0;
  for (int i = 0; i < n; ++i) {
    if (guilty[i] + (not_guilty_sum - not_guilty[i]) == m) {
      number_of_possible_killers++;
      is_possible_killer[i] = true;
    }
  }
  for (int i = 0; i < n; ++i) {
    if (!is_possible_killer[mabs(v[i])] && v[i] > 0 ||
        is_possible_killer[mabs(v[i])] && v[i] < 0 &&
            number_of_possible_killers == 1) {
      cout << "Lie" << endl;
    } else if (!is_possible_killer[mabs(v[i])] && v[i] < 0 ||
               is_possible_killer[mabs(v[i])] && v[i] > 0 &&
                   number_of_possible_killers == 1) {
      cout << "Truth" << endl;
    } else {
      cout << "Not defined" << endl;
    }
  }
}
