10592: ABC357 —— B - Uppercase and Lowercase
[Creator : ]
Description
You are given a string $S$ consisting of lowercase and uppercase English letters. The length of $S$ is odd.
If the number of uppercase letters in $S$ is greater than the number of lowercase letters, convert all lowercase letters in $S$ to uppercase.
Otherwise, convert all uppercase letters in $S$ to lowercase.
If the number of uppercase letters in $S$ is greater than the number of lowercase letters, convert all lowercase letters in $S$ to uppercase.
Otherwise, convert all uppercase letters in $S$ to lowercase.
Input
The input is given from Standard Input in the following format:
```
$S$
```
```
$S$
```
Output
Print the string $S$ after converting the letters according to the problem statement.
Constraints
- $S$ is a string consisting of lowercase and uppercase English letters.
- The length of $S$ is an odd number between $1$ and $99$, inclusive.
- The length of $S$ is an odd number between $1$ and $99$, inclusive.
Sample 1 Input
AtCoder
Sample 1 Output
atcoder
The string AtCoder contains five lowercase letters and two uppercase letters. Thus, convert all uppercase letters in AtCoder to lowercase, which results in atcoder.
Sample 2 Input
SunTORY
Sample 2 Output
SUNTORY
The string SunTORY contains two lowercase letters and five uppercase letters. Thus, convert all lowercase letters in SunTORY to uppercase, which results in SUNTORY.
Sample 3 Input
a
Sample 3 Output
a