# from cs50 import get_int

# x =get_int("What's x? ")
# y =get_int("What's y? ")

# if x < y:
#     print("x is less than y")
# elif x > y:
#     print("x is grretaer than y")
# else:
#     print("x is equal to y")

s = input("s: ")
t = input("t: ")

if s == t:
    print("SAME")
else:
    print("DIFFERENT")