print grep((($a=$'**$`-$_**$`)**(1/$`)|0)**$`==$a,1..$'-<>=~$")?Yes:No