#include <bits/stdc++.h>
using namespace std;
int peo[110000];
int vis[110000];
int main() {
  memset(vis, 0, sizeof(vis));
  int n, m;
  cin >> n >> m;
  for (int i = 1; i <= n; ++i) {
    cin >> peo[i];
  }
  int ans = 0;
  for (int i = 1; i <= n; ++i) {
    vector<int> vec;
    for (int j = 1; j <= n; ++j) {
      if (peo[j] > 0) {
        if (peo[j] == i) vec.push_back(j);
      } else {
        if (-peo[j] != i) vec.push_back(j);
      }
    }
    if (vec.size() == m) {
      ans++;
      for (int i = 0; i < vec.size(); ++i) vis[vec[i]]++;
    }
  }
  if (ans == 1) {
    for (int i = 1; i <= n; ++i) {
      if (vis[i])
        cout << "Truth\n";
      else
        cout << "Lie\n";
    }
  } else if (ans == 0) {
    for (int i = 1; i <= n; ++i) cout << "Not defined\n";
  } else {
    for (int i = 1; i <= n; ++i) {
      if (vis[i])
        cout << "Not defined\n";
      else
        cout << "Lie\n";
    }
  }
  return 0;
}
