#include <bits/stdc++.h>
using namespace std;
int ini() {
  int a;
  scanf("%d", &a);
  return a;
}
char inc() {
  char a;
  scanf("%c", &a);
  return a;
}
void readln() { scanf("\n"); }
int n, m, a[111222], e[111222];
char c[111222];
int main() {
  if (0) {
    freopen("aaa.inp", "r", stdin);
    freopen("aaa.out", "w", stdout);
  };
  n = ini();
  m = ini();
  scanf("\n");
  int cnt = 0;
  for (int i = (int)1; i <= (int)n; i++) {
    c[i] = inc();
    scanf("%d\n", a + i);
    if (c[i] == '+') {
      e[a[i]]++;
    } else {
      e[a[i]]--;
      cnt++;
    }
  }
  int sl = 0;
  for (int i = (int)1; i <= (int)n; i++) {
    e[i] += cnt;
    if (e[i] == m) sl++;
  }
  for (int i = (int)1; i <= (int)n; i++)
    if (c[i] == '+') {
      if (e[a[i]] == m) {
        if (sl > 1)
          printf("Not defined\n");
        else
          printf("Truth\n");
      } else {
        printf("Lie\n");
      }
    } else {
      if (e[a[i]] == m) {
        if (sl > 1)
          printf("Not defined\n");
        else
          printf("Lie\n");
      } else {
        printf("Truth\n");
      }
    }
  return 0;
};
