imagine that you are working as a musical producer at the recording studio. Every day you get dozens of short musical samples (rhythmic drawings). Some of them & mdash; This is just a very short motive, fixated several times, while others & mdash; More complex and unique melodies. Your task & mdash; Save time and write an analyzer program that will help to quickly separate simple repeating Semls from the complex.
rn
you will represent a seed in the form of a line where each symbol & mdash; This is a note or shock sound (for example, "Ababab" or "Takadimitakadimi"). The program should determine whether the whole line is a repetition of some of its shorter initial part.
rn
rn
rn - Semple & nbsp; " ababab " & nbsp; is a repetition of the tune & nbsp; " ab " & nbsp; 3 times. So this is a simple magnifying glass. Result: & nbsp;
trye rn - Semple & nbsp; " abcabc " & nbsp; is a repetition of the tuning & nbsp; " abc " & nbsp; 2 times. Result: & nbsp;
trye rn - Semple & nbsp; " abasde " & nbsp; is not a repetition of any of its initial pieces. Result: & nbsp; false
rn - Semple & nbsp; " aaaa " & nbsp; is a repetition & nbsp; " a " & nbsp; 4 times. Result: & NBSP; True
rn
rn
You need to write a program that takes one line (Seml) and the input) and Demits & nbsp; true , if it is a repetition, and & nbsp; false otherwise.
Input format
Musical Semple (Type: Line). This is one line without gaps that the user introduces.
Output format
The result of the check (type: brief value). This is either the word & nbsp; true , or the word & nbsp; false .
Hint
There will be no clue here, decide for yourself!