SECLAZY - Prova the lazy person
Here is another simple task for you. So, start.
Just imagine you will take a programming contest for 13th Batch. And after discussing this topic with your classmates you decided to give four types of prizes to the contestants. One prize will be given to one.
But imagine, there will be a lazy contestant in CSE 13th batch just like your lazy classmate Prova, who will be interested to take part in the contest only if half or more than the total contestants will get prizes. she will not consider her into the number of contestants.
So, here your task is to determine that she will take part to your hosted contest or not.
You will have given 5 integer inputs N, A, B, C, D. Where-
N - Number of total contestants without the lazy contestant.
A, B, C, D are the numbers of prizes of type A, B, C, D.
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.
80 20 20 10 10
105 10 25 05 05