Andrey's submission of Prime Distance On Tree | CodeChef