add to gothib

This commit is contained in:
Ultrablob 2025-01-20 11:37:00 -05:00
commit 523f45b46a
28 changed files with 419 additions and 0 deletions

11
rhyme.py Normal file
View file

@ -0,0 +1,11 @@
for i in range(int(input(""))):
x, y = input("").split(" ")
if x.endswith("17") or y.endswith("17"):
print("NO")
elif (x.endswith("7") and y.endswith("11")) or (x.endswith("11") and y.endswith("7")):
print("YES")
else:
print("NO")