In number theory, the 3-primes problem is the following conjecture.
"Every odd number greater than 5 can be written as a sum of three primes. The same prime may be added more than once."
For example, 7=2+2+3, 11=2+2+7, and 25=3+3+19.
Read an odd number K greater than 5 and write K as a sum of three primes.
Several triples can work, so the output is fixed to one of them. Sort each triple in ascending order as (a,b,c) and choose the lexicographically smallest one: the smallest a, and among those the smallest b.