diff --git a/word.py b/word.py new file mode 100644 index 0000000..fd71db1 --- /dev/null +++ b/word.py @@ -0,0 +1,13 @@ +s = input() +count = 0 +j = 0 +for ch in s: + if ch.isupper(): + count += 1 +for ch in s: + if ch.islower(): + j += 1 +if count > j: + print(s.upper()) +else: + print(s.lower())