Codegolf Episode 0x1 (win 2SBD)

For a long time I have been following the Codegolf tasks, which are published daily on https://codegolf.stackexchange.com. Now I want to make Codegolf better known on Steemit. For this purpose I will start a Codegolf Challenge.

Wait what is Codegolf?

The goal of every code golfer is to write a program that is as short as possible and implements a specific algorithm. There are special codegolf languages that allow to solve tasks with extremely short code. However, these are often very difficult to read. One of these languages is GolfScript.


Codegolf is an art form!

Task

My task for you is to write a program that outputs "YES" for any input X (X > 0 & x < 2000), if the number is a harshard prime and otherwise "NO".
A Harshad number is a number that can be divided by the sum of its digits.
E. g. is 18 is divisible by 1+8 (=9) and is therefore a Harshad number. In this case, however, we are only interested in these numbers, which are both a prime number and a Harshad number.

Rules

Entries are accepted in any language you like. You have 7 days to publish your code as a comment or in an article. If you publish the code in an article, please post a comment with a link to your article below.
The author of the shortest program (in bytes) gets 2SBD as a small price =)

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center