#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n;
  cin >> m;
  int totNumBlames = 0;
  int totNumUnblames = 0;
  vector<int> numBlames(n, 0);
  vector<int> numUnblames(n, 0);
  vector<bool> blamed(n);
  vector<int> blamedWho(n);
  for (int i = 0; i < n; i++) {
    char c;
    cin >> c;
    blamed[i] = (c == '+');
    cin >> blamedWho[i];
    int& who = blamedWho[i];
    who--;
    if (c == '+') {
      numBlames[who]++;
      totNumBlames++;
    } else {
      numUnblames[who]++;
      totNumUnblames++;
    }
  }
  int numPossible = 0;
  vector<bool> possible(n);
  for (int i = 0; i < n; i++) {
    possible[i] = ((numBlames[i] + totNumUnblames - numUnblames[i]) == m);
    numPossible++;
  }
  for (int i = 0; i < n; i++) {
    if (blamed[i] && numPossible == 1 && possible[blamedWho[i]]) {
      cout << "Truth" << endl;
    } else if (blamed[i] && !possible[blamedWho[i]]) {
      cout << "Lie" << endl;
    } else {
      cout << "Not defined" << endl;
    }
  }
  return 0;
}
