moscowdream - bradendubois/competitive-programming GitHub Wiki
Moscow Dream
ID: moscowdream
Difficulty: 2.0
CPU Time: 1 second
Memory: 1024 MB
Solution
For this, one can simply read in a, b, c, and n, and output "YES" ("NO" otherwise) if three conditions are met: a + b + c >= n, a and b and c are all >= 1, and n is at least 3.