ALLFIVE - It is all about five

A number is considered divisible by 5 when it ends with '0' or '5'.

Input

You'll be given a very large number (up to 1000 digits) and you have to determine whether it is divisible by 5 or not.

Output

If it is divisible by 5 so you should print "Yes" else you should print "No".

Note: use string to hold numbers because they are very large.

Example

Input:
100
313984719374192391234893475979283492374856283719723491789471923740
2131237192371927
625
656521419082401804813903784592375927345971239

Output:
Yes
Yes
No
Yes
No

Added by:Sharaf
Date:2011-08-20
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:ASM32-GCC GAWK MAWK BC C-CLANG C NCSHARP C++ 4.3.2 CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR FANTOM FORTH GOSU GRV JAVA JS-MONKEY JULIA KTLN NIM NODEJS OBJC OBJC-CLANG OCT PICO PROLOG PYPY PYPY3 PY_NBC R RACKET RUST CHICKEN SED SQLITE SWIFT UNLAMBDA VB.NET

hide comments
2012-10-10 05:29:41 david_8k
Shouldn't exist
2012-03-15 18:42:02 bfgeek
Allow Brainf**k, please.
2011-08-22 09:50:10 BOND
don't use strlen() !!! costed me a lot
2011-08-21 01:58:17 John Mario
Should be on Tutorial section...
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.