#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  cin >> n >> m;
  int a[100000];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int j = 0;
  for (int i = 0; i < n; i++) {
    if (m != n) {
      if (a[i] < 0)
        cout << "Not defined" << endl;
      else if (a[i] == i && j <= m) {
        cout << "truth" << endl;
        j++;
      } else
        cout << "lie" << endl;
    } else
      cout << "truth" << endl;
  }
}
