package main import . "fmt" func main() { var n int Scan(&n) if n%6==0 { Println("Yes") } else { Println("No") } }