#include <bits/stdc++.h>
using namespace std;
int a[100005];
int tedad[200005];
int n, r;
vector<int> m;
vector<int> p;
bool emkan[100005];
int hast[100005];
int nist[100005];
void Find() {
  for (int i = 0; i < n; i++) {
    if (a[i] > 0) {
      if (tedad[a[i]] > n - r)
        cout << "Truth\n";
      else if (tedad[a[i]] > r)
        cout << "Lie\n";
      else if (emkan[a[i]])
        cout << "Not defined\n";
      else
        cout << "Lie\n";
    } else {
      if (tedad[a[i] * -1 + n] > n - r)
        cout << "Truth\n";
      else if (tedad[a[i] * -1 + n] > r)
        cout << "Lie\n";
      else if (emkan[a[i] * -1])
        cout << "Not defined\n";
      else
        cout << "Truth\n";
    }
  }
}
int main() {
  cin >> n >> r;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] > 0) {
      p.push_back(a[i]);
      hast[a[i]]++;
      tedad[a[i]]++;
    } else {
      m.push_back(a[i] * -1);
      nist[a[i] * -1]++;
      tedad[a[i] * -1 + n]++;
    }
  }
  if (n == r) {
    for (int i = 1; i <= n; i++) cout << "Truth\n";
    return 0;
  }
  for (int i = 1; i <= n; i++)
    if (nist[i] > r || hast[i] > n - r) {
      for (int j = 0; j < n; j++)
        if (a[j] > 0) {
          if (a[j] == i)
            cout << "Truth\n";
          else
            cout << "Lie\n";
        } else {
          if (a[j] * -1 == i)
            cout << "Lie\n";
          else
            cout << "Truth\n";
        }
      return 0;
    }
  if (r < m.size()) {
    for (int i = 0; i < m.size(); i++) emkan[m[i]] = true;
    Find();
  } else if (r > m.size()) {
    for (int i = 0; i < p.size(); i++) emkan[p[i]] = true;
    Find();
  } else {
    for (int i = 0; i < n; i++) {
      if (a[i] < 0) {
        if (tedad[a[i]] > n - r)
          cout << "Truth\n";
        else if (tedad[a[i]] > r)
          cout << "Lie\n";
        else
          cout << "Not defined\n";
      } else {
        if (tedad[a[i] * -1 + n] > n - r)
          cout << "Truth\n";
        else if (tedad[a[i] * -1 + n] > r)
          cout << "Lie\n";
        else
          cout << "Not defined\n";
      }
    }
  }
  return 0;
}
