#include <bits/stdc++.h>
using namespace std;
const int maxn = 100 * 1010;
int n;
int a[maxn];
int pv[maxn], nv[maxn];
int nk;
bool cans[maxn];
int m;
int ns;
int main() {
  ios::sync_with_stdio(false);
  cin >> n >> m;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] > 0)
      pv[a[i] - 1]++;
    else {
      nv[-a[i] - 1]++;
      nk++;
    }
  }
  for (int i = 0; i < n; ++i) {
    if (pv[i] - nv[i] + nk == m) {
      ns++;
      cans[i] = true;
    }
  }
  for (int i = 0; i < n; ++i) {
    if (a[i] > 0) {
      if (!cans[a[i] - 1]) {
        cout << "Lie" << endl;
        continue;
      }
      if (ns == 1)
        cout << "Truth" << endl;
      else
        cout << "Not defined" << endl;
    } else {
      a[i] = -a[i];
      if (!cans[a[i] - 1]) {
        cout << "Truth" << endl;
        continue;
      }
      if (ns == 1)
        cout << "Lie" << endl;
      else
        cout << "Not defined" << endl;
    }
  }
  return 0;
}
