#include <bits/stdc++.h>
using namespace std;
const int N = int(2e5);
int a[N], b[N], an, bn, c[N];
int n, x, m;
char ch[N];
bool u[N];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> ch[i] >> x;
    if (ch[i] == '+') {
      a[x]++;
      an++;
    }
    if (ch[i] == '-') {
      b[x]++;
      bn++;
    }
    c[i] = x;
  }
  x = 0;
  for (int i = 1; i <= n; i++) {
    if (a[i] - b[i] + bn == m) {
      u[i] = 1;
      x++;
    }
  }
  if (x == 1) {
    for (int i = 1; i <= n; i++) {
      if (ch[i] == '+') {
        if (u[c[i]])
          puts("Truth");
        else
          puts("Lie");
      } else {
        if (u[c[i]])
          puts("Lie");
        else
          puts("Truth");
      }
    }
    return 0;
  }
  for (int i = 1; i <= n; i++) {
    if (ch[i] == '+') {
      if (u[c[i]])
        puts("Not defined");
      else
        puts("Lie");
    } else {
      if (u[c[i]])
        puts("Not defined");
      else
        puts("Truth");
    }
  }
  return 0;
}
