Divisible By 3

Computer Mathematics Easy 3 views
Back to Questions

Problem Description

Check if a number is divisible by 3 and print YES/NO.

Input Format

One integer n.

Output Format

YES or NO.

Sample Test Case

Input:
21
Output:
YES

Constraints

|n|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next