diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,3 +1,3 @@
 S = input()
 s = int(S[3:])
-print("Yes" if 350 - s > 0 and s != 316 else "No")
+print("Yes" if 350 > 350 - s > 0 and s != 316 else "No")
