#include <bits/stdc++.h>
using namespace std;
int n, m;
int yes[1 << 17], to[1 << 17];
int cyes[1 << 17], cno[1 << 17];
int cankill[1 << 17];
int truth, lie;
int main() {
  memset(cyes, 0, sizeof(cyes));
  memset(cno, 0, sizeof(cno));
  memset(cankill, 0, sizeof(cankill));
  scanf("%d%d", &n, &m);
  truth = 0, lie = 0;
  for (int i = 0; i < n; ++i) {
    char c;
    int x;
    scanf("%*c%c%d", &c, &x);
    x--;
    yes[i] = c == '+';
    to[i] = x;
    if (c == '+') {
      cyes[x]++;
      lie++;
    } else {
      cno[x]++;
      truth++;
    }
  }
  int k = 0;
  for (int i = 0; i < n; ++i)
    if (cyes[i] + (truth - cno[i]) == m) cankill[i] = 1, ++k;
  for (int i = 0; i < n; ++i)
    if (cankill[to[i]]) {
      if (k == 1) {
        if (yes[i])
          printf("Truth\n");
        else
          printf("Lie\n");
      } else
        printf("Not defined\n");
    } else {
      if (yes[i])
        printf("Lie\n");
      else
        printf("Truth\n");
    }
  return 0;
}
