#include <bits/stdc++.h>
using namespace std;
int main() {
  long int n, m, i, j, s;
  char a[8];
  for (i = 0; i < 8; i++) {
    a[i] = 100;
  }
  cin >> n >> m;
  for (i = 1; i <= n; i++) {
    cin >> a;
    j = 1;
    s = 0;
    while (a[j] >= '0' && a[j] <= '9') {
      s = s * 10 + a[j] - '0';
      j++;
    }
    if (i == m) {
      if (a[0] == '+' && s == i)
        cout << "Truth" << endl;
      else {
        if (a[0] == '+')
          cout << "Lie" << endl;
        else
          cout << "Not defined" << endl;
      }
    } else {
      if (a[0] == '+') {
        if (s == i)
          cout << "Not defined" << endl;
        else if (s == m)
          cout << "Truth" << endl;
      } else {
        cout << "Not defined" << endl;
      }
    }
  }
  return 0;
}
