Fair Share
Problem Statement
We have a basket of apples that we want to divide between Ahmad and Ali.
Ahmad and Ali must have the same number of apples.
Write a program that will take the number of apples and print Yes
if both Ahmad and Ali can eat the same amount of apples.
If the apples can't be divided evenly between Ahmad and Ali, the program should print No
.
Constraints
- All values are integers
- A, the number of apples, is an integer between 1 and 100
Input
Input is in the following format:
A
Output
Print Yes if the apples are even or No if the apples are odd.
Samples
Sample 1
Input | Output |
---|---|
9 | No |
Sample 2
Input | Output |
---|---|
8 | Yes |
Sample 3
Input | Output |
---|---|
10 | Yes |
Comments