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