#include <bits/stdc++.h>
using namespace std;
int n, m, arr[100009], cnt[100009], rcnt, x;
bool mark[100009];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> x;
    arr[i] = x;
    if (x > 0)
      cnt[x]++;
    else {
      cnt[-x]--;
      rcnt++;
    }
  }
  for (int i = 1; i <= n; i++) cnt[i] += rcnt;
  rcnt = 0;
  for (int i = 1; i <= n; i++)
    if (cnt[i] == m) {
      mark[i] = 1;
      rcnt++;
    }
  for (int i = 1; i <= n; i++) {
    if (arr[i] > 0) {
      if (mark[arr[i]]) {
        if (rcnt == 1)
          cout << "Truth\n";
        else
          cout << "Not defined\n";
      } else
        cout << "Lie\n";
    } else {
      int k = -arr[i];
      if (mark[k]) {
        if (rcnt == 1)
          cout << "Lie\n";
        else
          cout << "Not defined\n";
      } else
        cout << "Truth\n";
    }
  }
}
