a = int(input("enter smt"))
b = int(input("enter smth"))
if len(a) = len(b):
print ("yes")
else:
print ("no")
a = int(input("enter smt"))
b = int(input("enter smth"))
if len(a) = len(b):
print ("yes")
else:
print ("no")