package main import . "fmt" import . "math/big" import . "os" import bf "bufio" func main() { n:=new(Int) Fscan(bf.NewReader(Stdin),n) x:=n.Bit(0) n.Add(n,NewInt(int64(x))) Println(x) if n.ProbablyPrime(10) { Println("Yes") } else { Println("No") } }