s = gets.chomp length = s.length puts s[0...length/2]==s[length/2...length]