complete 12871.py

This commit is contained in:
2024-08-02 04:51:52 +09:00
parent 8ce191a73f
commit ecff23e5a2

View File

@@ -0,0 +1,4 @@
if __name__ == "__main__":
s = input()
t = input()
print(1 if t * len(s) == s * len(t) else 0)