e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 3

Each condition of two

For the given integer n print YES, if takes place each of the following conditions and NO otherwise.

  • number n is divisible by 3;

  • number n is even and two-digital.

Input

One integer n.

Output

Print YES or NO depending on conditions.

Time limit 1 second
Memory limit 128 MiB
Input example #1
12
Output example #1
YES
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"