#include <bits/stdc++.h>
int plus[112345], minus[112345], a[112345], sp, sm, possible[112345];
char sign[112345];
int main() {
  int i, j, poss = 0, n, m;
  scanf("%d%d", &n, &m);
  for (i = 1; i <= n; ++i) {
    scanf(" %c%d", &sign[i], &a[i]);
    if (sign[i] == '+')
      plus[a[i]]++, sp++;
    else
      minus[a[i]]++, sm++;
  }
  for (i = 1; i <= n; ++i) {
    possible[i] = plus[i] + sm - minus[i] == m;
    if (possible[i]) ++poss;
  }
  for (i = 1; i <= n; ++i) {
    if (sign[i] == '+') {
      if (!possible[a[i]])
        printf("Lie\n");
      else if (poss > 1)
        printf("Not defined\n");
      else
        printf("Truth\n");
    } else {
      if (!possible[a[i]])
        printf("Truth\n");
      else if (poss == 1)
        printf("Lie\n");
      else
        printf("Not defined\n");
    }
  }
  return 0;
}
