# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

# Ice-cream of Montu Mia

Montu Mia is a student of “Omok School”. He likes to eat an icecream everyday. But he also likes to buy that ice-cream by his daily pocket money. His father always gives him maximum pocket money for the purpose of transportation cost only. Because his mother makes tiffin for him everyday.

So for Montu Mia, the only way to buy an ice-cream is saving money from his transportation cost as much as he can. The lowest price of an ice-cream is 10 taka.

## Input

The first line contains a single integer **n** (1 ≤ n ≤ 1000). This is the amount of pocket money given by Montu’s father.

The second line contains three space separated integers **a**, **b**, **c** (1 ≤ a, b, c ≤ n). These are the different costs (total costs) for different transports.

## Output

Print “Yes :-D” if Montu can buy an ice-cream otherwise print “No :-(” without quotes.

## Samples

Input | Output |
---|---|

30 10 20 30 | Yes :-D |

Input | Output |
---|---|

20 15 17 20 | No :-( |

95% Solution Ratio

Minhaj_10Earliest,

Minhaj_10Fastest, 0.0s

HillolTalukdarLightest, 0 B

touhidurShortest, 73B

Login to submit