#!/usr/bin/env python

import sys
import pdb

n,m = map(int, sys.stdin.readline().split())

alibis = {}
fingers = {}

pos = {}
neg = {}

suspects = []

for i in xrange (1, n+1):
	str = sys.stdin.readline()
	point = int(str[1])
	if (str[0] == '+'):
		if point in fingers:
			fingers[point] += 1
		else: fingers[point] = 1
		pos[i] = int(point)
	else:
		if point in alibis:
			alibis[point] += 1
		else:
			alibis[point] = 1
		neg[i] = int(str[1])
		
sum_alibis = sum(alibis.values())

for i in xrange (1, n+1):
	if sum_alibis - alibis.get(i, 0) +  \
		fingers.get(i,0) == m:
			suspects.append(i)

for i in xrange (1, n+1):
	if i in pos:
		if len(suspects) == 1 and suspects[0] == pos[i]:
			print "Truth"
		elif len(suspects) > 1 and pos[i] in suspects:
			print "Not defined"
		else:
			print "Lie"
	else:
		if len(suspects) == 1 and suspects[0] == neg[i]:
			print "Lie"
		elif len(suspects) > 1 and neg[i] in suspects:
			print "Not defined"
		else:
			print "Truth"
			
