#include <bits/stdc++.h>
using namespace std;
int a[100009], b[100009];
char c[100009];
int s[100009];
int ans[100009];
int n, m;
int main() {
  while (scanf("%d %d", &n, &m) == 2) {
    memset(b, 0, sizeof(b));
    memset(a, 0, sizeof(a));
    memset(ans, 0, sizeof(ans));
    int sum = 0;
    for (int i = 1; i <= n; i++) {
      getchar();
      scanf("%c%d", &c[i], &s[i]);
      if (c[i] == '-') b[s[i]]++;
      if (c[i] == '+') a[s[i]]++;
      sum++;
    }
    int temp = 0;
    for (int i = 1; i <= n; i++) {
      if (sum - b[i] == m) {
        ans[i] = 1;
        temp++;
      }
    }
    for (int i = 1; i <= n; i++) {
      if (temp == 1) {
        if (c[i] == '+') {
          if (ans[s[i]])
            printf("Truth\n");
          else
            printf("Lie\n");
        } else if (c[i] == '-') {
          if (ans[s[i]])
            printf("Lie\n");
          else
            printf("Truth\n");
        }
      } else {
        if (c[i] == '+') {
          if (ans[s[i]])
            printf("Not defined\n");
          else
            printf("Lie\n");
        } else if (c[i] == '-') {
          printf("Not defined\n");
        }
      }
    }
  }
  return 0;
}
