#include <bits/stdc++.h>
using namespace std;
int a[100100], b[100100], who[100100];
bool what[100100];
int main(int argc, const char* argv[]) {
  int n, i, sum = 0, k, m, l = 0, ind;
  char c;
  cin >> n >> m;
  getchar();
  for (i = 1; i <= n; i++) {
    c = getchar();
    scanf("%d", &k);
    if (c == '-') {
      sum++;
      b[k]++;
      what[i] = false;
    } else {
      a[k]++;
      what[i] = true;
    }
    who[i] = k;
    getchar();
  }
  for (i = 1; i <= n; i++) {
    if (m == a[i] + sum - b[i]) {
      l++;
      ind = i;
    }
  }
  if (l == 1) {
    for (int j = 1; j <= n; j++)
      if (who[j] == ind) {
        if (what[j] == true)
          printf("Truth\n");
        else
          printf("Lie\n");
      } else if (what[j] == true)
        printf("Lie\n");
      else
        printf("Truth\n");
    return 0;
  }
  if (l > 1) {
    for (int j = 1; j <= n; j++)
      if (what[j] == true)
        printf("Lie\n");
      else
        printf("Not defined\n");
  }
  if (l == 0)
    for (i = 1; i <= n; i++) printf("Not defined\n");
  return 0;
}
