package main import "fmt" func abs(a int) int { if a >= 0 { return a } return -a } func main() { var a, b int fmt.Scan(&a, &b) if (a + 1) <= b { fmt.Println("YES") } else { fmt.Println("NO") } fmt.Println(abs((a + 1) - b)) }