Files
CodeObject/storage/zeta/py/completed/12871.py

5 lines
107 B
Python

if __name__ == "__main__":
s = input()
t = input()
print(1 if t * len(s) == s * len(t) else 0)