public int averageLetters(String str){
		int words = 0;
		int letters = 0;
		
		for(int i = 0; i < str.length(); i++){
			int value = str.charAt(i);
			
			if(value <= 122 && value >= 65){
				letters++;
			}
			if(value == 32 && i + 1 < str.length()){
				if(str.charAt(i + 1) <= 122 && str.charAt(i + 1) >= 65){
					words++;
				}
			}
		}
		words ++;
		
		return (int) Math.round((double)letters/(double)words);
	}