diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -21,7 +21,7 @@
             if k not in losers:
                 res_1.append(k)
 
-        for k, v in winners.items():
+        for k, v in losers.items():
             if v == 1:
                 res_2.append(k)
 
