#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  vector<int> v(n + 1), is(n + 1, 0), isnt(n + 1, 0);
  int isn = 0;
  for (int i = 1; i <= n; i++) {
    cin >> v[i];
    if (v[i] > 0)
      is[v[i]]++;
    else {
      isnt[-v[i]]++;
      isn++;
    }
  }
  int fix = 0;
  vector<bool> gottem(n + 1, 0);
  for (int i = 1; i <= n; i++) {
    if (is[i] + (isn - isnt[i]) == m) {
      gottem[i] = 1;
      fix++;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (v[i] > 0) {
      if (gottem[v[i]]) {
        if (fix == 1)
          cout << "Truth\n";
        else
          cout << "Not defined\n";
      } else
        cout << "Lie\n";
    } else {
      if (gottem[-v[i]]) {
        if (fix == 1)
          cout << "Lie\n";
        else
          cout << "Not defined\n";
      } else
        cout << "Truth\n";
    }
  }
}
