public static void main(String[] args) throws FileNotFoundException{
		int count=0;
		for(String s: words()){
			
			if(triWord(s)){
			count++;
			}
		}
		System.out.println("Number of triangular words: "+count);
		
	}