#include <bits/stdc++.h>
using namespace std;
int n, m;
int guilty;
int inocent;
vector<int> v;
int a[100100];
int b[100100];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    char c;
    cin >> c;
    int x;
    cin >> x;
    if (c == '+') {
      guilty++;
      a[x]++;
      v.push_back(x);
    } else {
      inocent++;
      b[x]++;
      v.push_back(-x);
    }
  }
  for (int i = 0; i < n; i++) {
    if (guilty > m) {
      if (v[i] > 0) {
        cout << "Lie" << endl;
      } else {
        if (b[v[i]] > 0) {
          cout << "Lie" << endl;
        } else {
          cout << "Not defined" << endl;
        }
      }
    } else {
      if (v[i] > 0) {
        cout << "Truth" << endl;
      } else {
        if (b[v[i]] > 0) {
          cout << "Truth" << endl;
        } else {
          cout << "Not defined" << endl;
        }
      }
    }
  }
  return 0;
}
