Schneider Electric interview question

To print next nearest prime number