#include <bits/stdc++.h>
using namespace std;
int cnt[2];
int acc[123456], decl[123456];
bool b[123456];
int ans[123456];
char s[123456];
int main(void) {
  int i, n, m, susp, num;
  char t;
  while (scanf(" %d %d", &n, &m) != EOF) {
    memset(cnt, 0, sizeof(cnt));
    memset(acc, 0, sizeof(acc));
    memset(decl, 0, sizeof(decl));
    memset(b, 0, sizeof(b));
    memset(ans, 0, sizeof(ans));
    memset(s, 0, sizeof(s));
    susp = 0;
    for (i = 0; i < n; i++) {
      scanf(" %c%d", &t, &num);
      ans[i] = num - 1;
      s[i] = t;
      if (t == '-')
        cnt[0]++, decl[num - 1]++;
      else
        cnt[1]++, acc[num - 1]++;
    }
    for (i = 0; i < n; i++)
      b[i] = (acc[i] + cnt[0] - decl[i]) == m, susp += b[i];
    for (i = 0; i < n; i++)
      if (s[i] == '-') {
        if (!b[ans[i]])
          printf("Truth\n");
        else {
          if (susp > 1)
            printf("Not defined\n");
          else
            printf("False\n");
        }
      } else {
        if (!b[ans[i]])
          printf("Lie\n");
        else {
          if (susp > 1)
            printf("Not defined\n");
          else
            printf("Truth\n");
        }
      }
  }
  return 0;
}
