#include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int a[N], b[N], s[N], t[N], ans, sa, sb, n, m, x;
char ch[N];
int main() {
  scanf("%d%d", &n, &m);
  for (int i = 1; i <= n; ++i) {
    char c;
    getchar();
    scanf("%c%d", &c, &x);
    if (c == '+')
      a[x]++;
    else
      b[x]++;
    ch[i] = c;
    s[i] = x;
  }
  for (int i = 1; i <= n; ++i) sb += b[i];
  for (int i = 1; i <= n; ++i)
    if (a[i] + sb - b[i] == m) t[i] = 1, ans++;
  for (int i = 1; i <= n; ++i) {
    if (ch[i] == '+') {
      if (t[s[i]]) {
        if (ans > 1)
          printf("Not defined\n");
        else
          printf("Truth\n");
      } else
        printf("Lie\n");
    } else {
      if (t[s[i]]) {
        if (ans == 1)
          printf("Lie\n");
        else
          printf("Not defined\n");
      } else
        printf("Truth\n");
    }
  }
  return 0;
}
