CF606A Magic Spheres
题目描述
Carl 有三种类型的魔法球分别有 $a$ 个, $b$ 个, $c$ 个,他可以使任意两个相同类型的魔法球变为另一种类型的魔法球,当他三种类型的魔法球数量分别对应为 $x$ 个, $y$ 个, $z$ 个的时候可以组成魔法阵,现在请你求 Carl 能否成功组成魔法阵。
输入格式
第一行输入 $3$ 个整数,分别为 $a$,$b$,$c$。
第二行输入 $3$ 个整数,分别为 $x$,$y$,$z$。
输出格式
如果 Carl 可以成功组成魔法阵,输出 `Yes`。
如果 Carl 不可能成功组成魔法阵,输出 `No`。
#### 数据大小
$0\leq a,b,c,x,y,z\leq 10^6$
说明/提示
In the first sample the wizard has $ 4 $ blue and $ 4 $ violet spheres. In his first action he can turn two blue spheres into one violet one. After that he will have $ 2 $ blue and $ 5 $ violet spheres. Then he turns $ 4 $ violet spheres into $ 2 $ orange spheres and he ends up with $ 2 $ blue, $ 1 $ violet and $ 2 $ orange spheres, which is exactly what he needs.