
import java.io.*;
import java.util.*;
import java.math.*;

public class Main
{
	BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	StringTokenizer tokenizer=null;
	
	public static void main(String[] args) throws IOException
	{
		new Main().execute();
	}
	
	void debug(Object...os)
	{
		System.out.println(Arrays.deepToString(os));
	}
	
	int ni() throws IOException
	{
		return Integer.parseInt(ns());
	}
	
	long nl() throws IOException 
	{
		return Long.parseLong(ns());
	}
	
	double nd() throws IOException 
	{
		return Double.parseDouble(ns());
	}
		
	String ns() throws IOException 
	{
		while (tokenizer == null || !tokenizer.hasMoreTokens()) 
			tokenizer = new StringTokenizer(br.readLine());
		return tokenizer.nextToken();
	}
	
	String nline() throws IOException
	{
		tokenizer=null;
		return br.readLine();
	}
		
	

	//Main Code starts Here
	int totalCases, testNum;	
	int n,m;
	int arr[][];
	int store[][];
	int plus,minus;
	boolean chor[];
	void execute() throws IOException
	{
		totalCases = 1;
		for(testNum = 1; testNum <= totalCases; testNum++)
		{
			if(!input())
				break;
			solve();
		}
	}

	void solve() throws IOException
	{
		chor = new boolean[n+1];
		int count = 0;
		for(int i = 1;i<=n;i++)
		{
			int ttp = arr[i][0] + minus-arr[i][1];
			if(ttp == m)
			{
				chor[i] = true;
				count++;
			}
		}
		
		for(int i = 1;i<=n;i++)
		{
			int val = 0;
			if(count == 1)
			{
				if(store[i][0] > 0 && chor[store[i][0]])
					System.out.println("Truth");
				else if(store[i][1] > 0 && chor[store[i][1]])
					System.out.println("Lie");					
				else if(store[i][0] > 0 && !chor[store[i][0]])
					System.out.println("Lie");
				else
					System.out.println("Truth");
			}
			else
			{
				if(store[i][0] > 0 && chor[store[i][0]])
					System.out.println("Not defined");
				else if(store[i][1] > 0 && chor[store[i][1]])
					System.out.println("Not defined");
				else if(store[i][0] > 0 && !chor[store[i][0]])
					System.out.println("Lie");
				else
					System.out.println("Truth");					
			}
		}		
	}

	boolean input() throws IOException
	{
		n = ni();
		m = ni();
		arr = new int[n+1][2];
		store = new int[n+1][2];
		for(int i = 1;i<=n;i++)
		{
			String s = ns();
			if(s.charAt(0) == '-')
			{
				minus++;
				int x = Integer.parseInt(s.substring(1,s.length()));
				arr[x][1]++;
				store[i][1] = x;
			}
			else
			{
				plus++;
				int x = Integer.parseInt(s.substring(1,s.length()));
				arr[x][0]++;
				store[i][0] = x;
			}
		}
		return true;
	}


}


