#include <bits/stdc++.h>
using namespace std;
long long n, m, what[100000 + 200], comit, ncomit;
map<long long, long long> mp;
set<int> crime;
int main() {
  cin >> n >> m;
  if (m == 0) {
    for (int i = 0; i < n; i++) cout << "Lie" << endl;
    return 0;
  }
  for (int i = 1; i <= n; i++) {
    cin >> what[i];
    mp[what[i]]++;
    if (what[i] > 0)
      comit++;
    else
      ncomit++;
  }
  for (int i = 1; i <= n; i++)
    if (mp[i] + ncomit - mp[-i] == m) crime.insert(i);
  for (int i = 1; i <= n; i++) {
    if (what[i] < 0 && crime.size() == 1 && crime.count(-what[i]))
      cout << "Lie" << endl;
    else if (what[i] < 0 && !crime.count(-what[i]))
      cout << "Truth" << endl;
    else if (what[i] < 0)
      cout << "Not defined" << endl;
    else if (crime.size() == 1 && crime.count(what[i]))
      cout << "Truth" << endl;
    else if (!crime.count(what[i]))
      cout << "Lie" << endl;
    else
      cout << "Not defined" << endl;
  }
  return 0;
}
