# Arup Guha
# 3/2/2020
# Is the string repeated twice?

phrase = input("Enter some text.\n")

# Get the length of the phrase.
n = len(phrase)

# Extract out left and right halves, using slicing.
left = phrase[:n//2]
right = phrase [n//2:]

# This is a doubled string!
if left == right:
    print("Your string is a smaller string repeated exactly twice.")

# If we get here, it's not a doubled string.
else:
    print("Your string isn't a double string.")
