public String find(String word)
	{
		String LIKES ="Likes";
		String DISLIKES = "Dislikes";
		int[][] isContain =new int[word.length()][26];
		
		int last = -1;
		for(int i=0;i<word.length();i++){
			int charIndex = word.charAt(i)-'A';
			if(last==charIndex){
				return DISLIKES;
			}else{
				last =charIndex;
			}
			
			for(int j=0;j<i;j++){
				isContain[j][charIndex]++;
			}
		}
		
		for(int i=0;i<word.length()-2;i++){			
			for(int j=i+2;j<word.length();j++){
				if(word.charAt(i) == word.charAt(j)){
					for(int k=0;k<26;k++){
						if((isContain[i][k]-isContain[j-1][k])>0 && isContain[j][k]>0){
							return DISLIKES;
						}
					}
				}
			}
		}

		return LIKES;
	}