#B3804. Triple Integer Condition Check
Triple Integer Condition Check
Triple Integer Condition Check
Given three integers \(a\), \(b\), and \(c\), determine if they satisfy all of the following conditions:
- \(a + b + c \leq 100\).
- \(b\) is a multiple of 5.
- \(c\) is a multiple of 7.
- \(a - b > b - c\).
If all conditions are met, output Yes
, otherwise output No
.
inputFormat
The input consists of a single line containing three space-separated integers: \(a\), \(b\), and \(c\).
outputFormat
Output a single line containing Yes
if all conditions are satisfied, or No
otherwise.
sample
10 5 7
Yes