puts Math.cbrt(gets.to_i).to_s.chars[-1] == ?0 ? :Yes : :No