#include <bits/stdc++.h>
using namespace std;
const int inf = 1 << 30;
const long long linf = 1LL << 60;
const int maxn = 100 * 1000 + 5;
bool T[maxn];
int A[maxn];
int main() {
  ios::sync_with_stdio(0);
  int n, m;
  cin >> n >> m;
  if (!m) {
    for (int i = 0; i < n; ++i) {
      cout << "Lie\n";
    }
    return 0;
  }
  if (m == n) {
    for (int i = 0; i < n; ++i) {
      cout << "Truth\n";
    }
    return 0;
  }
  int cnt = 0;
  for (int i = 0; i < n; ++i) {
    char c;
    int x;
    cin >> c >> x;
    T[i] = (c == '+');
    if (c == '-') {
      ++cnt;
    }
    A[i] = x;
  }
  if (cnt == m - 1) {
    for (int i = 0; i < n; ++i) {
      if (!T[i]) {
        cout << "Truth\n";
      } else {
        if (cnt == n - 1) {
          cout << "Truth\n";
        } else {
          cout << "Not defined\n";
        }
      }
    }
  } else if (cnt == m + 1) {
    for (int i = 0; i < n; ++i) {
      if (!T[i]) {
        if (cnt > 1) {
          cout << "Not defined\n";
        } else {
          cout << "Lie\n";
        }
      } else {
        cout << "Lie\n";
      }
    }
  } else {
    for (int i = 0; i < n; ++i) {
      cout << "Not defined\n";
    }
  }
  return 0;
}
