#include <bits/stdc++.h>
#pragma hdrstop
#pragma argsused
using namespace std;
int main(int argc, char* argv[]) {
  int n, m;
  cin >> n >> m;
  vector<int> Y(n, 0), N(n, 0), Z(n);
  vector<bool> K(n, false);
  int yes = 0, no = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &Z[i]);
    if (Z[i] > 0) {
      Z[i]--;
      Y[Z[i]]++;
      yes++;
    } else {
      Z[i]++;
      N[-Z[i]]++;
      no++;
    }
  }
  int killers = 0, tr = 0;
  for (int i = 0; i < n; i++) {
    tr = Y[i] + no - N[i];
    if (tr == m) {
      K[i] = true;
      killers++;
    }
  }
  string s;
  for (int i = 0; i < n; i++) {
    if (Z[i] > 0) {
      if (K[Z[i]])
        s = killers == 1 ? "Truth" : "Not defined";
      else
        s = "Lie";
      cout << s << endl;
    } else {
      if (K[-Z[i]])
        s = killers == 1 ? "Lie" : "Not defined";
      else
        s = "Truth";
      cout << s << endl;
    }
  }
  return 0;
}
