五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

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

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的評論 (共 條)

分享到微博請遵守國家法律
若羌县| 定陶县| 扶沟县| 特克斯县| 日土县| 璧山县| 六盘水市| 肥城市| 靖边县| 玛曲县| 泗阳县| 潮州市| 比如县| 安龙县| 绍兴县| 两当县| 泌阳县| 吴堡县| 徐水县| 嘉义市| 都兰县| 太谷县| 宁阳县| 名山县| 景德镇市| 当涂县| 民乐县| 临桂县| 隆子县| 永川市| 黎川县| 天津市| 晋江市| 镇宁| 黄平县| 通山县| 珲春市| 沅陵县| 安泽县| 祁连县| 内江市|