Function to check if the count of alphabets is equal to the count of numbers or not
function check ( str ) { if ( countOfLetters ( str ) == countOfNumbers ( str ) ) document . write ( " " ) ; else document . write ( " " ) ; }