#include <bits/stdc++.h>
using namespace std;
int n, m;
char sign[100005];
int a[100005];
int pos[100005];
int neg[100005];
int all_p;
int all_n;
bool may[100005];
int ex;
int cnt;
int who[100005];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> sign[i] >> a[i];
    if (sign[i] == '+') {
      pos[a[i]]++;
      all_p++;
    } else {
      neg[a[i]]++;
      all_n++;
    }
  }
  for (int i = 1; i <= n; i++) {
    if (pos[i] + (all_n - neg[i]) == m) {
      may[i] = true;
      ex = i;
      cnt++;
    }
  }
  if (cnt == 1) {
    for (int i = 1; i <= n; i++) {
      if ((sign[i] == '+') == (a[i] == ex)) {
        cout << "Truth" << endl;
      } else {
        cout << "Lie" << endl;
      }
    }
    return 0;
  }
  for (int i = 1; i <= n; i++) {
    if (sign[i] == '+') {
      if (may[a[i]]) {
        cout << "Not defined" << endl;
      } else {
        cout << "Lie" << endl;
      }
    } else {
      if (may[a[i]]) {
        cout << "Not defined" << endl;
      } else {
        cout << "Truth" << endl;
      }
    }
  }
  return 0;
}
