#t186. 整理药名
整理药名
Normalizing Drug Names
Problem Description
Doctors often write drug names without paying attention to capitalization, resulting in a messy format. Now you are asked to write a program to standardize the messy drug names written by doctors into a uniform format: if the first character of a drug name is a letter, it should be capitalized and all other letters lowercased. For example, ASPIRIN, aspirin should be standardized to Aspirin.
Input Format
The first line contains a number , indicating there are drug names to standardize, where does not exceed 100.
The next lines each contain one word of at most 20 characters, representing the drug name handwritten by the doctor. A drug name consists of letters, digits, and -.
Output Format
lines, each containing one word, the standardized form of the corresponding input drug name.
Sample Input
4
AspiRin
cisapride
2-PENICILLIN
Cefradine-6
Sample Output
Aspirin
Cisapride
2-penicillin
Cefradine-6