#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7, siz = 1e6 + 5;
long long t, n, m, k, a[siz], accuse[siz], fre[siz], ac;
bool thf[siz];
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m;
  for (long long i = 1; i <= n; i++) {
    long long x;
    cin >> x;
    a[i] = x;
    if (x > 0) {
      accuse[x]++;
      ac++;
      continue;
    }
    fre[-x]++;
  }
  long long cnt = 0;
  for (long long i = 1; i <= n; i++) {
    long long truth = accuse[i] + (n - ac - fre[i]);
    if (truth == m) {
      thf[i] = 1;
      cnt++;
    }
  }
  for (long long i = 1; i <= n; i++) {
    if (a[i] > 0) {
      if (cnt == 1) {
        if (a[i] == i)
          cout << "Truth\n";
        else
          cout << "Lie\n";
      } else {
        if (thf[a[i]])
          cout << "Not defined\n";
        else
          cout << "Lie\n";
      }
      continue;
    }
    if (!thf[-a[i]]) {
      cout << "Lie\n";
    } else if (cnt == 1 and !thf[-a[i]]) {
      cout << "Lie\n";
    } else if (cnt == 1 and thf[-a[i]]) {
      cout << "Truth\n";
    } else if (cnt != 1 and thf[-a[i]]) {
      cout << "Not defined\n";
    } else
      cout << "Lie\n";
  }
}
