#include <bits/stdc++.h>
using namespace std;
int pl[100009], mi[100009];
int main() {
  int t, i, j, k, n, m;
  memset(pl, 0, sizeof(pl));
  memset(mi, 0, sizeof(mi));
  scanf("%d", &n);
  scanf("%d", &m);
  char c;
  int cp, cm;
  cp = 0;
  cm = 0;
  vector<int> v;
  for (i = 0; i < n; i++) {
    scanf("%d", &t);
    v.push_back(t);
    if (t > 0)
      pl[t]++, cp++;
    else
      mi[-t]++, cm++;
  }
  int x, y;
  int cnt = 0, khon = 0;
  for (i = 1; i <= n; i++) {
    x = pl[i] + cm - mi[i];
    if (x == m) {
      cnt++;
      khon = i;
    }
  }
  for (i = 0; i < v.size(); i++) {
    if (v[i] < 0) {
      if (cnt != 1)
        cout << "Not defined" << endl;
      else {
        t = -v[i];
        if (khon == t)
          cout << "Lie" << endl;
        else
          cout << "Truth" << endl;
      }
    } else if (v[i] > 0) {
      if (cnt == 1) {
        if (khon == v[i])
          cout << "Truth" << endl;
        else
          cout << "Lie" << endl;
      } else {
        x = pl[v[i]] + cm - mi[v[i]];
        if (x == m) {
          cout << "Not defined" << endl;
        } else
          cout << "Lie" << endl;
      }
    }
  }
  return 0;
}
