#B3804. Triple Integer Condition Check

    ID: 11461 Type: Default 1000ms 256MiB

Triple Integer Condition Check

Triple Integer Condition Check

Given three integers \(a\), \(b\), and \(c\), determine if they satisfy all of the following conditions:

  1. \(a + b + c \leq 100\).
  2. \(b\) is a multiple of 5.
  3. \(c\) is a multiple of 7.
  4. \(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