#include <bits/stdc++.h>
using namespace std;
int main() {
  int m, n, i, a;
  char c;
  cin >> n >> m;
  if (m == 0) {
    cin >> c >> a;
    if (c == '-')
      cout << "Lie";
    else
      cout << "Truth";
  } else {
    for (i = 1; i <= n; i++) {
      cin >> c >> a;
      if (c == '-')
        cout << "Not defined" << endl;
      else {
        if (a == i)
          cout << "Truth" << endl;
        else
          cout << "Lie" << endl;
      }
    }
  }
}
