print<>=~/( .*)\1/?No:Yes