#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 30;
const int maxn = 100007;
int n, m, suma, sumb, tot;
int a[maxn], b[maxn], ans[maxn], crime[maxn], said[maxn][2];
int main() {
  int k;
  char o;
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> o >> k;
    if (o == '+') {
      a[k]++;
      said[i][0] = k;
      suma++;
    } else {
      b[k]++;
      said[i][1] = k;
      sumb++;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (a[i] + sumb - b[i] == m) {
      crime[i] = 1;
      tot++;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (tot == 1) {
      if (!said[i][0]) {
        k = said[i][1];
        if (crime[k])
          ans[i] = 0;
        else
          ans[i] = 1;
      } else {
        k = said[i][0];
        if (crime[k])
          ans[i] = 1;
        else
          ans[i] = 0;
      }
    } else {
      if (!said[i][0]) {
        k = said[i][1];
        if (crime[k])
          ans[i] = 2;
        else
          ans[i] = 1;
      } else {
        k = said[i][0];
        if (crime[k])
          ans[i] = 2;
        else
          ans[i] = 0;
      }
    }
  }
  for (int i = 1; i <= n; i++)
    if (ans[i] == 0)
      printf("Lie\n");
    else if (ans[i] == 1)
      printf("Truth\n");
    else
      printf("Not defined\n");
  return 0;
}
