s1=input()
s2=input()
print(s1 == s2)
a=s1.lower() 
b=s2.lower() 
print(a == b)

不能用is ==和is不一样QAQ