#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 20;
int n, m, a[MAXN], b, isC[MAXN], res[MAXN], cnt;
int check() {
  for (int i = 0; i < n; i++)
    if (isC[i] == m) {
      cnt++;
    }
  if (cnt == m) return 1;
  return -1;
}
void cal() {
  if (check() == -1)
    for (int i = 0; i < n; i++) {
      if (isC[a[i] - 1] == m) res[i] = -1;
    }
  else {
    for (int i = 0; i < n; i++) {
      if (isC[a[i] - 1] == m) res[i] = 1;
    }
  }
}
int main() {
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    b = a[i];
    if (b > 0) isC[b - 1]++;
  }
  cal();
  for (int i = 0; i < n; i++) {
    if (res[i] == 1)
      cout << "Truth\n";
    else if (res[i] == -1)
      cout << "Lie\n";
    else
      cout << "Not defined\n";
  }
  return 0;
}
