SECLAZY - Jisan the lazy person

no tags 

Imagine you are hosting a programming contest at SIU, and after discussing this topic with your classmates, you have decided to award four types of prizes to the contestants, with each prize going to one person.

However, there is a lazy contestant, similar to your classmate Israk Masud Jisan, who will only be interested in participating if half or more of the total contestants receive prizes. He will not count himself as one of the contestants.

Your task is to determine whether he will choose to take part in your hosted contest or not.


INPUT:  

You will have given 5 integer inputs N, A, B, C, D. Where- 

Number of total contestants without the lazy contestant. 

A, B, C, D are the numbers of prizes of type A, B, C, D. 

OUTPUT: 

There will be only a single answer YES or NO in a single line output. This YES means she  will participate in the contest. And NO means he will not participate in the contest. 

SAMPLE INPUT: 

80 20 20 10 10 

105 10 25 05 05 

SAMPLE OUTPUT: 

YES 

NO 



Added by:Ruhul
Date:2019-08-04
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:C CPP14 JAVA PYTHON3