#include <bits/stdc++.h>
using namespace std;
int b[100 * 100 * 10 + 7], c[100 * 1000 + 7];
int main() {
  int n, m;
  cin >> n >> m;
  int a[n], h = 0, t = 0;
  string s[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > 0) {
      b[a[i]]++;
    } else {
      c[a[i] * -1]++;
      h++;
      a[i] *= -1;
    }
  }
  int e = 0;
  for (int i = 0; i < n; i++) {
    e = b[a[i]] + h - c[a[i]];
    if (e == m) {
      t++;
      s[i] = "Truth";
      e = 0;
    } else {
      e = 0;
      s[i] = "Lie";
    }
  }
  for (int i = 0; i < n; i++) {
    if (s[i] == "Truth") {
      if (t > 1) {
        cout << "Not defined" << endl;
      } else {
        cout << "Truth" << endl;
      }
    } else {
      cout << "Lie" << endl;
    }
  }
}
