n, m = [int(i) for i in input().split()]

if n == m:
	print("\n".join(["Truth"]*n))
elif m == 0:
	print("\n".join(["Lie"]*n))
else:
	a = {key: int(input()) for key in range(1, n+1)}
	
	if len(set(a.values())) == n:
		print("\n".join(["Not defined"]*n))
	else:
		honest = [0]*n
		for i in a.values():
			honest[abs(i)-1] += 1 if i > 0 else -1
		m -= sum([i<0 for i in a.values()])
		suspects = [i+1 for i, v in enumerate(honest) if v == m]
		
		if len(suspects) == 0:
			verdict = ["Not defined"] * n
		elif len(suspects) == 1:
			verdict = ["Truth" if (i==suspects[0] or i < 0 and i != -suspects[0]) else "Lie" for i in a.values()]
		else:
			verdict = ["Not defined" if abs(i) in suspects else ("Lie" if i > 0 else "Truth") for i in a.values()]
			
		print("\n".join(verdict))