3-Primes Problem

UVALive - 7235