#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:36777216")
using namespace std;
vector<int> vec1[111111], vec2[111111];
int n, m, sum1, sum2, pos;
int x[111111];
char ch[111111];
bool FLAG;
int flag[111111];
int main() {
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= n; i++) {
    scanf(" %c%d", &ch[i], &x[i]);
    if (ch[i] == '+')
      vec1[x[i]].push_back(i), sum1++;
    else
      vec2[x[i]].push_back(i), sum2++;
  }
  for (int i = 1; i <= n; i++) {
    int s1 = vec1[i].size(), s2 = vec2[i].size();
    if (s1 + sum2 - s2 == m) {
      if (pos != 0) FLAG = true;
      pos = i;
    } else {
      for (int j = 0; j < vec1[i].size(); j++) flag[vec1[i][j]] = 1;
      for (int j = 0; j < vec2[i].size(); j++) flag[vec2[i][j]] = 2;
    }
  }
  if (FLAG == false && pos != 0) {
    for (int i = 1; i <= n; i++) {
      if (ch[i] == '+' && x[i] == pos)
        printf("Truth\n");
      else if (ch[i] == '-' && x[i] != pos)
        printf("Truth\n");
      else
        printf("Lie\n");
    }
    return 0;
  }
  for (int i = 1; i <= n; i++) {
    if (flag[i] == 1)
      printf("Lie\n");
    else if (flag[i] == 2)
      printf("Truth\n");
    else
      printf("Not defined\n");
  }
}
