#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  int cnt = 0;
  scanf("%d%d", &n, &m);
  vector<int> pl(n, -1);
  vector<int> mn(n, -1);
  for (int i = 0; i < n; ++i) {
    char ch;
    int ans;
    cin >> ch >> ans;
    if (ch == '+') {
      pl[i] = ans;
    }
    if (ch == '-') {
      mn[i] = ans;
    }
  }
  if (m == 0) {
    for (int i = 0; i < n; ++i) {
      puts("Lie");
    }
    return 0;
  }
  if (m == n) {
    for (int i = 0; i < n; ++i) {
      puts("Truth");
    }
    return 0;
  }
  for (int i = 0; i < n; ++i) {
    if (pl[i] != -1) {
      puts("Lie");
    } else {
      puts("Not defined");
    }
  }
  return 0;
}
