diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -3,6 +3,8 @@
 for c in s:
     if c.isupper():
         count += 1
+    else:
+        count -= 1
 if count > 0:
     s = s.upper()
 else:
