find the percentage ratio of lowercase and uppercase letters in line