#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, m, b = 0, e = 0;
  string s;
  cin >> n >> m;
  map<int, int> mp;
  for (int i = 0; i < n; i++) {
    cin >> s;
    if (s[0] == '-')
      e++, mp[s[1] - '0']--;
    else
      mp[s[1] - '0']++;
  }
  for (int i = 0; i < n; i++)
    if (m == e + mp[i]) b++;
  for (int i = 0; i < n; i++) {
    if (mp[i] + e > m)
      cout << "Lie" << endl;
    else if (b > 1)
      cout << "Not defined" << endl;
    else
      cout << "Truth" << endl;
  }
  return 0;
}
