LTM Limited Interview Question

Identify prime numbers using java or python