#include <bits/stdc++.h>
int p[101000], pp[101000], input[101000];
int q[101000];
int i, j, n, m, totala;
int main() {
  scanf("%d %d", &n, &m);
  char a;
  for (i = 1; i <= n; i++) {
    scanf(" %c%d", &a, &j);
    if (a == '+') {
      totala++;
      p[j]++;
      input[i] = j;
    } else {
      pp[j]++;
      input[i] = -j;
    }
  }
  int pos = 0;
  for (i = 1; i <= n; i++) {
    if (p[i] + (n - totala - pp[i]) == m) {
      q[i] = 1;
      pos++;
    }
  }
  for (i = 1; i <= n; i++) {
    if (input[i] > 0) {
      j = input[i];
      if (!q[j]) {
        printf("Lie\n");
      } else {
        if (pos > 1)
          printf("Not defined\n");
        else
          printf("Truth\n");
      }
    } else {
      j = -input[i];
      if (q[j]) {
        if (pos == 1)
          printf("Lie\n");
        else {
          printf("Not defined\n");
        }
      } else {
        printf("Truth\n");
      }
    }
  }
  return 0;
}
