#include <bits/stdc++.h>
using namespace std;
int a[100005], b[100005], c[100005];
bool qw[100005];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, m, k = 0, count = 0;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> c[i];
    if (c[i] > 0)
      a[c[i]]++;
    else {
      b[-c[i]]++;
      k++;
    }
  }
  for (int i = 1; i <= n; i++) {
    int t = a[i] + (k - b[i]);
    if (t == m) {
      count++;
      qw[i] = 1;
    }
  }
  for (int i = 0; i < n; i++) {
    if (c[i] < 0) {
      if (!qw[-c[i]])
        cout << "Truth" << endl;
      else if (count == 1)
        cout << "Lie" << endl;
      else
        cout << "Not defined" << endl;
    } else {
      if (!qw[c[i]])
        cout << "Lie" << endl;
      else if (count == 1)
        cout << "Truth" << endl;
      else
        cout << "Not defined" << endl;
    }
  }
  return 0;
}
