t = {"6", "28", "496", "8128", "33550336", "8589869056", "137438691328", "230584300813995212"} local n = io.read() for i = 1, #t do if n == t[i] then print("Yes") os.exit() end end print("No")