diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,7 +5,7 @@
 # l = [input() for _ in range(a)]
 # l = [list(map(int, input().split())) for _ in range(a)]
 
-if b % 2 <= 1:
+if b == a * 2 or b == a * 2 + 1:
     print("Yes")
 else:
     print("No")
