#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, m;
  char ch;
  long t;
  long detect = 0;
  bool md;
  long vinoven[100000], nevinoven[100000], golosa[100000];
  bool ms[100000];
  int km = 0;
  cin >> n >> m;
  for (int i = 0; i < n; i++) {
    cin >> ch >> t;
    if (ch = '+') {
      golosa[i] = t;
      vinoven[t]++;
    } else {
      golosa[i] = -t;
      nevinoven[t]++;
    }
  }
  for (int i = 0; (i < n); i++) {
    t = vinoven[i];
    for (int j = 0; j < n; j++) {
      if (j != i) t += nevinoven[j];
    }
    if (t == m) {
      km++;
      detect = i;
      ms[i] = true;
    } else {
      ms[i] = false;
    }
  }
  if (km = 1) {
    for (int i = 0; i < n; i++) {
      if (golosa[i] > 0) {
        if (golosa[i] == detect)
          cout << "Truth";
        else {
          cout << "Lie";
        }
      } else {
        if (-golosa[i] != detect)
          cout << "Truth";
        else {
          cout << "Lie";
        }
      }
      cout << endl;
    }
  } else {
    for (int i = 0; i < n; i++) {
      if (ms[abs(golosa[i])]) {
        cout << "Not defined";
      } else {
        if (golosa[i] > 0) {
          cout << "Lie";
        } else {
          cout << "Truth";
        }
      }
      cout << endl;
    }
  }
  return 0;
}
