package main import . "fmt" func main() { var s string Scan(&s) if len(s)%2==0 { h:=len(s)%2 if string(s[:h])==string(s[h:]) { Println("YES") return } } Println("NO") }