#include <bits/stdc++.h>
using namespace std;
int n, m, a[100000], c[100000], t, d;
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
    if (a[i] > 0) {
      ++c[a[i]];
    } else {
      --c[-a[i]];
      ++d;
    }
  }
  t = count(c + 1, c + 1 + n, m - d);
  for (int i = 1; i <= n; ++i) {
    if (c[abs(a[i])] != m - d) {
      puts(a[i] > 0 ? "Lie" : "Truth");
    } else if (t == 1) {
      puts(a[i] > 0 ? "Truth" : "Lie");
    } else {
      puts("Not defined");
    }
  }
  return 0;
}
