#include <bits/stdc++.h>
using namespace std;
int i, j, k, l, m, n, a[100005];
string s, u;
int susp[100005];
int non_susp[100005];
int suspected, nsusp;
char c;
int sign[100005];
int main() {
  cin >> n >> m;
  for (i = 0; i < n; i++) {
    cin >> c;
    cin >> a[i];
    a[i]--;
    if (c == '+') {
      sign[i] = 1;
      susp[a[i]]++;
      suspected++;
    } else {
      nsusp++;
      non_susp[a[i]]++;
    }
  }
  set<int> sus;
  for (i = 0; i < n; i++) {
    if (susp[i] + (nsusp - non_susp[i]) == m) sus.insert(i);
  }
  for (i = 0; i < n; i++)
    if (sign[i] == 1) {
      if (sus.find(a[i]) != sus.end()) {
        if (sus.size() == 1) {
          cout << "Truth\n";
        } else
          cout << "Not defined\n";
      } else {
        cout << "Lie\n";
      }
    } else {
      if (sus.find(a[i]) == sus.end()) {
        cout << "Truth\n";
      } else if (sus.find(a[i]) != sus.end() && sus.size() == 1) {
        cout << "Lie\n";
      } else
        cout << "Not defined\n";
    }
  return 0;
}
