diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,5 +1,5 @@
 x = list(map(int, input().split()))
-if len(set(x)) == 2:
+if len(set(x)) == 2 and x.count(list(set(x))[0]) >= 2:
     print("Yes")
 else:
     print("No")
