#include <bits/stdc++.h>
using namespace std;
int cntp[100020];
int cntm[100020];
int n, m;
char s[100020];
int a[100020];
int ap, am;
int bp[100020], bm[100020];
int ia(int x) {
  if (x < 0) return -x;
  return x;
}
int main() {
  int i, k;
  char x[1024];
  memset(bp, 0, sizeof(bp));
  memset(bm, 0, sizeof(bm));
  am = ap = 0;
  scanf("%d %d", &n, &m);
  for (i = 1; i <= n; i++) {
    scanf("%s", x);
    cntp[i] = n;
    cntm[i] = 0;
    s[i] = x[0];
    sscanf(x, "%d", &a[i]);
    a[i] = ia(a[i]);
    if (s[i] == '+') {
      bp[a[i]]++;
      ap++;
    } else if (s[i] == '-') {
      bm[a[i]]++;
      am++;
    }
  }
  k = 0;
  for (i = 1; i <= n; i++) {
    if (bp[i] + am - bm[i] == m) {
      cntp[i]--;
      cntm[i]++;
    } else
      k++;
  }
  for (i = 1; i <= n; i++) {
    if (s[i] == '+') {
      if (cntp[a[i]] == k)
        printf("Truth\n");
      else if (cntp[a[i]] == n)
        printf("Lie\n");
      else
        printf("Not defined\n");
    } else if (s[i] == '-') {
      if (cntm[a[i]] == 0) {
        printf("Truth\n");
      } else if (cntm[a[i]] == n - k)
        printf("Lie\n");
      else
        printf("Not defined\n");
    }
  }
  return 0;
}
