#include <bits/stdc++.h>
using namespace std;
const int maxn = 100 * 1000 + 5;
int A[maxn][2], B[maxn], T[maxn];
bool bad[maxn];
int main() {
  int n, m;
  cin >> n >> m;
  int cnt = 0;
  for (int i = 0; i < n; ++i) {
    char t;
    int x;
    cin >> t >> x;
    --x;
    t = (t == '+');
    ++A[x][t];
    B[i] = x;
    T[i] = t;
    if (!t) {
      ++cnt;
    }
  }
  int bads = 0;
  for (int i = 0; i < n; ++i) {
    if (cnt + A[i][1] - A[i][0] == m) {
      bad[i] = 1;
      ++bads;
    }
  }
  for (int i = 0; i < n; ++i) {
    if (bad[B[i]] != T[i]) {
      if (T[i] || bads == 1) {
        cout << "Lie\n";
      } else {
        cout << "Not defined\n";
      }
    } else {
      if (!T[i] || bads == 1) {
        cout << "Truth\n";
      } else {
        cout << "Not defined\n";
      }
    }
  }
  return 0;
}
