#include <bits/stdc++.h>
int n;
int test[110000][2];
int st[110000][2];
int tn = 0;
int sus[110000];
int scnt = 0;
int main(void) {
  char tmp[110], c;
  int m;
  int i;
  memset(st, 0, sizeof(st));
  scanf("%d%d", &n, &m);
  for (i = 0; i < n; i++) {
    scanf("%s", tmp);
    sscanf(tmp, "%c%d", &c, &test[i][0]);
    int cid;
    test[i][0]--;
    cid = test[i][0];
    test[i][1] = c == '+' ? 1 : 0;
    if (c == '+') {
      st[cid][0]++;
    } else {
      st[cid][1]++;
      tn++;
    }
  }
  for (i = 0; i < n; i++) {
    if (st[i][0] + (tn - st[i][1]) == m) {
      sus[i] = 1;
      scnt++;
    } else {
      sus[i] = 0;
    }
  }
  for (i = 0; i < n; i++) {
    int a = 0, b = 0;
    if (sus[test[i][0]] == 1 && test[i][1] == 1) {
      a = 1;
    }
    if ((sus[test[i][0]] == 0 || scnt > 1) && test[i][1] == 0) {
      a = 1;
    }
    if ((scnt > 1 || sus[test[i][0]] == 0) && test[i][1] == 1) {
      b = 1;
    }
    if (test[i][1] == 0 && sus[test[i][0]] == 1) {
      b = 1;
    }
    if (a == b) {
      printf("Not defined\n");
    } else if (a == 1) {
      printf("Truth\n");
    } else {
      printf("Lie\n");
    }
  }
  return 0;
}
