#include <bits/stdc++.h>
using namespace std;
pair<int, int> a[100001];
int b[100001];
int main() {
  int n, m, x, pos, neg;
  cin >> n >> m;
  if (m == n) {
    while (n--) cout << "Truth" << endl;
    return 0;
  } else if (m == 0) {
    while (n--) cout << "Lie" << endl;
    return 0;
  }
  for (int i = 0; i < n; i++) {
    cin >> b[i];
    if (b[i] > 0)
      pos++;
    else
      neg++;
    if (b[i] > 0)
      a[b[i]].first++;
    else
      a[abs(b[i])].second++;
  }
  if ((neg >= m && pos >= m) || (neg >= m && pos <= m)) {
    for (int i = 0; i < n; i++) {
      if (b[i] < 0)
        cout << "Not defined" << endl;
      else {
        if (a[b[i]].second)
          cout << "Not defined" << endl;
        else
          cout << "Lie" << endl;
      }
    }
  } else {
    for (int i = 0; i < n; i++) {
      if (b[i] < 0)
        cout << "Truth" << endl;
      else
        cout << "Not defined" << endl;
    }
  }
}
