#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
int n, m;
int zheng[N], fu[N];
bool crime[N];
bool type[N];
int a[N];
int main() {
  scanf("%d%d", &n, &m);
  char ty;
  int x;
  int tot_zheng = 0, tot_fu = 0;
  for (register int i = 1; i <= n; ++i) {
    while (ty = getchar(), ty != '+' && ty != '-')
      ;
    scanf("%d", &x);
    a[i] = x;
    type[i] = (ty == '+');
    if (ty == '+')
      ++zheng[x], ++tot_zheng;
    else
      ++fu[x], ++tot_fu;
  }
  int tot_can_be = 0;
  for (int i = 1; i <= n; ++i) {
    if (fu[i]) {
      int cnt = tot_fu - 1;
      cnt += zheng[i];
      if (cnt == m && !crime[i]) {
        crime[i] = 1;
        ++tot_can_be;
      }
    }
  }
  if (m >= tot_fu) {
    for (register int i = 1; i <= n; ++i) {
      if (zheng[i] && !fu[i]) {
        if (tot_fu + zheng[i] == m && !crime[i]) crime[i] = 1, ++tot_can_be;
      }
    }
  }
  for (register int i = 1; i <= n; ++i) {
    if (crime[a[i]] && type[i] && tot_can_be == 1) puts("Truth");
    if (!crime[a[i]] && !type[i] && tot_can_be <= 1) puts("Truth");
    if (crime[a[i]] && !type[i] && tot_can_be == 1) puts("Lie");
    if (!crime[a[i]] && type[i]) puts("Lie");
    if (crime[a[i]] && tot_can_be != 1) puts("Not defined");
  }
  return 0;
}
