#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:65000000")
using namespace std;
int plu[100000];
int mns[100000];
int who[100000];
char what[100000];
int pluses = 0;
int minuses = 0;
int killer[100000];
int main() {
  int n, m;
  char c;
  int wh;
  scanf("%d%d", &n, &m);
  for (int i = 0; i < n; ++i) {
    scanf(" %c%d", &c, &wh);
    --wh;
    who[i] = wh;
    what[i] = c;
    if (c == '+') {
      ++pluses;
      ++plu[wh];
    } else {
      ++mns[wh];
      ++minuses;
    }
  }
  int killers = 0;
  int frees = 0;
  for (int i = 0; i < n; ++i) {
    int p = plu[i];
    plu[i] += minuses - mns[i];
    mns[i] += pluses - p;
    if (plu[i] == m) {
      killer[i] |= 1;
      ++killers;
    }
    if (mns[i] == m) {
      killer[i] |= 2;
      ++frees;
    }
  }
  for (int i = 0; i < n; ++i) {
    if (what[i] == '+') {
      if (plu[who[i]] == m) {
        if (killers == 1)
          printf("Truth\n");
        else
          printf("Not defined\n");
      } else
        printf("Lie\n");
    } else {
      if (plu[who[i]] != m)
        printf("Truth\n");
      else if (killers == 1)
        printf("Lie\n");
      else
        printf("Not defined\n");
    }
  }
  return 0;
}
