acmsguru |
---|
Finished |
YES" (without quotes) if it's possible for the team 1 to score at least as much wins as any other team of its division, and "
NO" (without quotes) otherwise.
sample input | sample output |
3 1 2 2 1 1 1 0 0 0 0 0 0 0 0 0 | YES |
sample input | sample output |
3 1 2 2 1 1 1 0 0 0 0 0 1 0 1 0 | NO |
Name |
---|