A program that writes the source code of a program to check if the input is a prime number.