// No.1119 Division 3 package main import "fmt" func main() { var x, y, z int fmt.Scan(&x, &y, &z) if x%3 == 0 || y%3 == 0 || z%3 == 0 { fmt.Println("Yes") } else { fmt.Println("No") } }