#include <bits/stdc++.h>
using namespace std;
char ch[100010];
bool can[100010];
int x[100010], cri[100010], uncri[100010];
int s_cri, s_uncri, n, m;
void init() {
  cin >> n >> m;
  for (int i = 1; i <= n; i++) {
    cin >> ch[i] >> x[i];
    if (ch[i] == '+') {
      cri[x[i]]++;
      s_cri++;
    } else {
      uncri[x[i]]++;
      s_uncri++;
    }
  }
}
void solve() {
  int s = 0;
  for (int i = 1; i <= n; i++)
    if (cri[i] + s_uncri - uncri[i] == m) {
      can[i] = true;
      s++;
    }
  for (int i = 1; i <= n; i++)
    if (ch[i] == '+') {
      if (can[x[i]]) {
        if (s > 1)
          cout << "Not defined" << endl;
        else
          cout << "Truth" << endl;
      } else
        cout << "Lie" << endl;
    } else {
      if (can[x[i]]) {
        if (s > 1)
          cout << "Not defined" << endl;
        else
          cout << "Lie" << endl;
      } else
        cout << "Truth" << endl;
    }
}
int main() {
  ios::sync_with_stdio(false);
  init();
  solve();
  return 0;
}
