#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int a[300000] = {}, z[300000] = {};
  int q = 0;
  for (int i = 0; i < n; i++) {
    cin >> z[i];
    int p = z[i];
    a[abs(p)] += p / abs(p);
    if (p < 0) q++;
  }
  bool is[100002] = {};
  int nis = 0;
  for (int i = 1; i <= n; i++) {
    if (q + a[i] == m) {
      is[i] = 1;
      nis++;
    }
  }
  for (int i = 0; i < n; i++) {
    if ((z[i] < 0 && !is[abs(z[i])]) || (z[i] > 0 && is[z[i]] && nis == 1))
      cout << "Truth" << endl;
    else if ((z[i] < 0 && is[abs(z[i])] && nis == 1) || (z[i] > 0 && !is[z[i]]))
      cout << "Lie" << endl;
    else
      cout << "Not defined" << endl;
  }
}
