国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網 會員登陸 & 注冊

CF 59A. Word

2023-06-10 12:13 作者:您是打尖兒還是住店呢  | 我要投稿

Vasya is very upset that many people on the Net mix uppercase and lowercase letters in one word. That's why he decided to invent an extension for his favorite browser that would change the letters' register in every word so that it either only consisted of lowercase letters or, vice versa, only of uppercase ones. At that as little as possible letters should be changed in the word. For example, the word?HoUse?must be replaced with?house, and the word?ViP?— with?VIP. If a word contains an equal number of uppercase and lowercase letters, you should replace all the letters with lowercase ones. For example,?maTRIx?should be replaced by?matrix. Your task is to use the given method on one given word.

Input

The first line contains a word?s?— it consists of uppercase and lowercase Latin letters and possesses the length from?1?to?100.

Output

Print the corrected word?s. If the given word?s?has strictly more uppercase letters, make the word written in the uppercase register, otherwise - in the lowercase one.

判斷字符的大小寫的數量差異的


CF 59A. Word的評論 (共 條)

分享到微博請遵守國家法律
水富县| 石河子市| 渑池县| 西吉县| 平昌县| 沐川县| 工布江达县| 方城县| 呼玛县| 宁河县| 青铜峡市| 阿坝县| 随州市| 宁波市| 石林| 衡阳县| 铜鼓县| 金秀| 奉新县| 南阳市| 广安市| 肇州县| 曲靖市| 磐石市| 成都市| 昔阳县| 宜州市| 泊头市| 宾阳县| 玛纳斯县| 枞阳县| 若尔盖县| 仁化县| 民丰县| 乌兰浩特市| 陆良县| 化州市| 定州市| 东阳市| 即墨市| 丰顺县|