#include <bits/stdc++.h>
using namespace std;
const int maxn = 100005;
int a[maxn];
int b[maxn];
int c[maxn];
int sc[maxn];
int vis[maxn];
int main() {
  int n, m;
  char str[10];
  while (scanf("%d %d", &n, &m) != EOF) {
    for (int i = 1; i <= n; i++) {
      scanf("%s", str);
      a[i] = 0;
      for (int j = 1; j < strlen(str); j++) a[i] = a[i] * 10 + str[j] - '0';
      if (str[0] == '-') a[i] = -a[i];
    }
    memset(b, 0, sizeof(b));
    memset(c, 0, sizeof(c));
    memset(sc, 0, sizeof(sc));
    for (int i = 1; i <= n; i++) {
      if (a[i] > 0)
        b[a[i]] += 1;
      else
        c[-a[i]] += 1;
    }
    for (int i = 1; i <= n; i++) sc[i] = sc[i - 1] + c[i];
    memset(vis, 0, sizeof(vis));
    int num = 0;
    for (int i = 1; i <= n; i++) {
      if ((b[i] + sc[i - 1] - sc[0] + sc[n] - sc[i]) != m) continue;
      vis[i] = 1;
      num += 1;
    }
    if (num == 1) {
    }
    for (int i = 1; i <= n; i++) {
      if (a[i] > 0 && vis[a[i]] == 0)
        printf("Lie\n");
      else if ((a[i] < 0 && vis[-a[i]] == 0) || num == 1)
        printf("Truth\n");
      else
        printf("Not defined\n");
    }
  }
  return 0;
}
