private static int getWordAverageLength(String problemStatement){
		int result = 0;
		int index = 0;
		int wordCount = 0;
		int wordLength = 0;
		while (true){
			if (index >= problemStatement.length()){
				break;
			}
			int currentWordLength = 0;
			while (index < problemStatement.length() && !isSeparator(problemStatement.charAt(index))){
				currentWordLength++;
				index++;
			}
			if (currentWordLength != 0){
				wordCount++;
				if (index < problemStatement.length() && problemStatement.charAt(index) == '.'){
					currentWordLength++;
				}
				wordLength += currentWordLength;
			}
			index++;
		}
		if (wordCount > 0){
			result = wordLength/wordCount;
		}
		return result;
	}