Divisible By 9

Computer Mathematics Easy 3 views
Back to Questions

Problem Description

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

Input Format

One integer n.

Output Format

YES or NO.

Sample Test Case

Input:
1233
Output:
YES

Constraints

|n|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next