Flowgorithm homework

I need a program that, when you insert a number by your choice, it tells you if that number is a prime number.
I need to use Flowgorithm.

Thanks a lot.