Problem3110--买文具

3110: 买文具

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

开学了,小明来到文具店选购文具。签字笔 lns="http://www.w3.org/1998/Math/MathML">2 元一支,他需要 lns="http://www.w3.org/1998/Math/MathML"> 支;记事本 lns="http://www.w3.org/1998/Math/MathML">5 元一本,他需要 lns="http://www.w3.org/1998/Math/MathML"> 本;直尺 lns="http://www.w3.org/1998/Math/MathML">3 元一把,他需要 lns="http://www.w3.org/1998/Math/MathML"> 把。小明手里有 lns="http://www.w3.org/1998/Math/MathML"> 元钱。请你通过编程帮小明算算,他手里的钱是否够买他需要的文具。

Input

第一行包含一个正整数,是小明购买签字笔的数量。约定 lns="http://www.w3.org/1998/Math/MathML">110

第二行包含一个正整数,是小明购买记事本的数量。约定 lns="http://www.w3.org/1998/Math/MathML">110

第三行包含一个正整数,是小明购买直尺的数量。约定 lns="http://www.w3.org/1998/Math/MathML">110

第四行包含一个正整数 lns="http://www.w3.org/1998/Math/MathML">,是小明手里的钱数(单位:元)。

Output

输出 lns="http://www.w3.org/1998/Math/MathML">2 行。如果小明手里的钱够买他需要的文具,则第一行输出 Yes,第二行输出小明会剩下的钱数(单位:元);否则,第一行输出 No,第二行输出小明缺少的钱数(单位:元)。

Sample Input Copy

1
1
1
20

Sample Output Copy

Yes
10

HINT

样例输入2:
1
1
1
5
样例输出2:
No
5

Source/Category