#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int a[N], d[N], pos[N];
void read(int &x) {
  int f = 1;
  x = 0;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  x *= f;
}
int main() {
  int n, m, sumd = 0;
  read(n), read(m);
  for (int i = 1; i <= n; i++) {
    read(a[i]);
    if (a[i] > 0)
      d[a[i]]++;
    else
      d[-a[i]]--, sumd++;
  }
  int sum = 0;
  for (int i = 1; i <= n; i++) {
    d[i] += sumd;
    if (d[i] == m) pos[i] = 1, sum++;
  }
  for (int i = 1; i <= n; i++) {
    if (a[i] > 0) {
      if (pos[a[i]]) {
        if (sum > 1)
          puts("Not defined");
        else
          puts("Truth");
      } else
        puts("Lie");
    } else {
      if (!pos[-a[i]])
        puts("Truth");
      else {
        if (sum > 1)
          puts("Not defined");
        else
          puts("Lie");
      }
    }
  }
  return 0;
}
