
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;
	void execute() throws IOException
	{
		totalCases = 1;
		for(testNum = 1; testNum <= totalCases; testNum++)
		{
			if(!input())
				break;
			solve();
		}
	}

	void solve() throws IOException
	{
		int bplus = 0;
		int bminus = 0;
		int truthi = -1;
		for(int i = 1;i<=n;i++)
		{
			int ttp = arr[i][0] + minus-arr[i][1];
			if(ttp == m)
			{
				if(truthi == -1)
					truthi = i;
				else if(truthi>=0)
					truthi = -2;
										
				if(bplus == 0)
				{
					bplus = -1;
				}
				else if(bplus == -1)
				{
				}
				else
					bplus = -2;
				
				if(bminus == 0)
				{
					bminus = 1;
				}
				else if(bminus == 1)
				{
				}
				else
					bminus = -2;
				
			}
		}
		for(int i = 1;i<=n;i++)
		{
			int x;
			if(store[i][0] > 0)
			{
				x = store[i][0];
				if(x==truthi)
					System.out.println("Truth");
				else
				{
					if(bplus == -1 && truthi != -2)
						System.out.println("Lie");
					else
						System.out.println("Not defined");
				}
			}
			else
			{
				x = store[i][1];
				if(x == truthi)
					System.out.println("Lie");
				else
				{
					if(bminus == 1 && truthi !=-2 )
						System.out.println("Truth");
					else
						System.out.println("Not defined");
				}
			}
		}
		
	}

	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;
	}


}


