Determine All Primes | Germany Maths Olympiad.