#include <bits/stdc++.h>
using namespace std;
int n, m;
char c[2002];
int a[2002];
int b[2002];
int s[2002];
bool ok[2002];
string s1, s2;
int main() {
  scanf("%d%d\n", &n, &m);
  for (int i = 1; i <= n; ++i) {
    char ch;
    int t;
    scanf("%c%d\n", &ch, &t);
    if (ch == '+') {
      ++a[t];
      s[i] = t;
    } else {
      ++b[t];
      s[i] = -t;
    }
  }
  int ss = 0;
  for (int i = 1; i <= n; ++i) ss += b[i];
  int okk = 0;
  for (int i = 1; i <= n; ++i) {
    int t = a[i] + ss - b[i];
    if (t == m) {
      okk++;
      ok[i] = 1;
    }
  }
  for (int i = 1; i <= n; ++i) {
    if (s[i] > 0) {
      if (okk == 1 && ok[s[i]])
        printf("Truth\n");
      else if (!ok[s[i]])
        printf("Lie\n");
      else
        printf("Not defined\n");
    } else {
      if (okk == 1) {
        if (ok[-s[i]])
          printf("Lie\n");
        else
          printf("Truth\n");
      } else {
        if (ok[-s[i]])
          printf("Not defined\n");
        else
          printf("Lie\n");
      }
    }
  }
  return 0;
}
