All Tracks Problem

Divisible by 15
Tag(s):

Very-Easy

Problem
Editorial
Analytics

The task is very simple - You need to check if the given number is divisible by 15 or not.

Print "Yes" if it is divisible by 15 else print "No" without qoutes.

Input Format:-
First line will contain an integer T denoting the number of testcases.
Each test case will contain a single integer N.

Output Format:-
Output "Yes" or "No" without quotes in new line for each testcase.

Constraints:-
1 ≤ T ≤ 100
0 ≤ N\(10^{1000}\)

SAMPLE INPUT
2
1230
23
SAMPLE OUTPUT
Yes
No
Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB
Marking Scheme: Marks are awarded when all the testcases pass.
Allowed Languages: Bash, C, C++, C++14, Clojure, C#, D, Erlang, F#, Go, Groovy, Haskell, Java, Java 8, JavaScript(Rhino), JavaScript(Node.js), Julia, Kotlin, Lisp, Lisp (SBCL), Lua, Objective-C, OCaml, Octave, Pascal, Perl, PHP, Python, Python 3, R(RScript), Racket, Ruby, Rust, Scala, Swift, Swift-4.1, TypeScript, Visual Basic

CODE EDITOR

Initializing Code Editor...
Your Rating:

Contributor

This Problem was Asked in

National Institute of Technology Jalandhar

Challenge Name

Sprint Challenge 1

OTHER PROBLEMS OF THIS CHALLENGE
通知
View All Notifications

?