Input a number It will tell you if it is prime It will take a long time if the number is very large and prime. Sorry!
The code is surprising short and simple!