




import java.io.IOException;
public class Main {
	
	static int n;
	static int sus=0;
	static int sp[]=new int[100500];
	
	public static int check(int k,int l,int r) {
		if (l>=r) return (sp[l]==k)?1:0;
		int m=(l+r)/2;
		if (sp[m]>=k) return check(k,l,m); else return check(k,m+1,r);
	}
	
	public static int read() throws IOException {
		int inp=0; int b;
		do{
		b=System.in.read();
			if (b>47)inp=inp*10+b-48;
		}while ((b!=13)&(b!=' '));
		if (b==13) System.in.read();
		return inp;
	}

	public static void main(String[] args) throws IOException{
		// TODO Auto-generated method stub
int m,sum=0; 
n=read(); 
m=read();
int q[] = new int[n+10];
int s[] = new int[n+10];
for(int i=0;i<n;i++){
	int mul=1; if (System.in.read()=='-') {mul=-1;sum--;}
	q[i]=read();
	s[q[i]-1]+=mul;
	q[i]*=mul;
}
for(int i=0;i<n;i++) if (s[i]-sum==m)sp[sus++]=i;
	for(int i=0;i<n;i++)if (sus==0)System.out.print("WTF?\n"); else{
		int state=check(Math.abs(q[i])-1,0,sus-1);
		if (state==0) System.out.print(q[i]<0?"Truth\n":"Lie\n"); else{
			if (sus==1) System.out.print(q[i]>0?"Truth\n":"Lie\n"); else
				System.out.print("Not defined\n");}
		
		
		
	}
	
	
	
	


			
			}
		}
		