#include <bits/stdc++.h>
using namespace std;
int i, j, k, n, m, A, B, s;
int a[100010], b[100010], c[100010], F[100010];
char p[100010];
int main() {
  scanf("%d%d\n", &n, &m);
  for (i = 1; i <= n; i++) {
    scanf("%c%d\n", &p[i], &a[i]);
    if (p[i] == '+')
      b[a[i]]++, A++;
    else
      c[a[i]]++, B++;
  }
  for (i = 1; i <= n; i++) {
    k = B - c[i] + b[i];
    if (k == m) F[i] = 1, s++;
  }
  for (i = 1; i <= n; i++)
    if (p[i] == '+') {
      if (F[a[i]]) {
        if (s == 1)
          printf("Truth\n");
        else
          printf("Not defined\n");
      } else
        printf("Lie\n");
    } else {
      if (F[a[i]]) {
        if (s == 1)
          printf("Lie\n");
        else
          printf("Not defined\n");
      } else
        printf("Truth\n");
    }
  return 0;
}
