#include <bits/stdc++.h>
using namespace std;
long long n, m, i, ak[100010], a[100010], b[100010], ac[100010], v, ans, maybe;
int main() {
  cin >> n >> m;
  for (i = 1; i <= n; i++) {
    cin >> ak[i];
    if (ak[i] > 0)
      a[ak[i]]++;
    else {
      v++;
      b[ak[i]]++;
    }
  }
  for (i = 1; i <= n; i++)
    if (m == a[i] + (v - b[i])) {
      ac[i] = 1;
      maybe++;
    }
  for (i = 1; i <= n; i++) {
    if (ak[i] > 0) {
      if (ac[ak[i]] == 1 && maybe == 1)
        cout << "Truth" << '\n';
      else if (ac[ak[i]] == 0)
        cout << "Lie" << '\n';
      else
        cout << "Not defined" << '\n';
    } else {
      if (ac[ak[i]] == 0)
        cout << "Truth" << '\n';
      else if (ac[ak[i]] == 1 && maybe == 1)
        cout << "Lie" << '\n';
      else
        cout << "Not defined" << '\n';
    }
  }
  return 0;
}
