#include <bits/stdc++.h>
using namespace std;
int N, M;
int For[100000], Against[100000];
int TotalFor = 0, TotalAgainst = 0;
int Vote[100000];
int Sign[100000];
int J[100000];
int R[100000];
void Solve() {
  int c = 0;
  for (int i = 0; i < N; i++) {
    J[i] = true;
    if (For[i] + TotalAgainst - Against[i] != M) {
      J[i] = false;
    } else {
      J[i] = true;
      c++;
    }
  }
  for (int i = 0; i < N; i++) {
    if (!J[Vote[i]]) {
      if (Sign[i] > 0)
        R[i] = 2;
      else
        R[i] = 1;
    } else if (c == 1) {
      if (Sign[i] > 0)
        R[i] = 1;
      else
        R[i] = 2;
    }
    if (R[i] == 0)
      printf("Not defined\n");
    else if (R[i] == 1)
      printf("Truth\n");
    else
      printf("Lie\n");
  }
}
int main() {
  scanf("%d %d", &N, &M);
  char c;
  for (int i = 0; i < N; i++) {
    scanf(" %c%d", &c, &Vote[i]);
    Vote[i]--;
    if (c == '+') {
      For[Vote[i]]++;
      Sign[i] = 1;
      TotalFor++;
    } else {
      Against[Vote[i]]++;
      Sign[i] = -1;
      TotalAgainst++;
    }
  }
  Solve();
  return 0;
}
