#include <bits/stdc++.h>
using namespace std;
int crime[100001];
int nocrime[100001];
int s[100001];
int n, m, b;
int res[100001];
long long ff[100001];
bool can[100001];
int ncan = 0;
bool f[100001];
int main() {
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> s[i];
    ff[s[i]]++;
  }
  for (int i = 0; i < n; i++) {
    if (s[i] > 0) {
      crime[s[i] - 1]++;
    } else {
      nocrime[s[i] - 1]++;
      b++;
    }
  }
  for (int i = 0; i < n; i++) {
    if ((crime[i] + (b - nocrime[i])) == m) {
      can[i] = 1;
      ncan++;
    }
  }
  for (int i = 0; i < n; i++) {
    if (ff[s[i]] >= m) {
      cout << "Lie" << endl;
      continue;
    }
    if (s[i] > 0) {
      if (can[s[i] - 1]) {
        if (ncan == 1)
          cout << "Truth" << endl;
        else
          cout << "Not defined" << endl;
        continue;
      } else {
        cout << "Lie" << endl;
        continue;
      }
    } else if (!can[s[i] - 1]) {
      cout << "Truth" << endl;
      continue;
    } else {
      {
        if (can[s[i] - 1] && ncan == 1)
          cout << "Lie" << endl;
        else
          cout << "Not defined" << endl;
      }
    }
  }
  return 0;
}
