#include <bits/stdc++.h>
using namespace std;
int a[100010], b[100010], c[100010], Check[100010];
int main() {
  int n, m, conter = 0, Lies = 0;
  cin >> n >> m;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] > 0) {
      c[a[i] - 1]++;
      conter++;
    } else {
      b[-a[i] - 1]++;
    }
  }
  for (int i = 0; i < n; i++) {
    if (c[i] + n - conter - b[i] == m) {
      Check[i] = 1;
      Lies++;
    }
  }
  for (int i = 0; i < n; i++) {
    if (a[i] > 0) {
      if (Check[a[i] - 1]) {
        if (Lies > 3) {
          cout << "Not defined" << endl;
        } else {
          cout << "Truth" << endl;
        }
      } else {
        cout << "Lie" << endl;
      }
    } else {
      if (Check[-a[i] - 1] && Lies == 1) {
        cout << "Lie" << endl;
      } else if (!Check[-a[i] - 1]) {
        cout << "Truth" << endl;
      } else {
        cout << "Not defined" << endl;
      }
    }
  }
  return 0;
}
