Samarth Gupta's submission of Chef, Primes and Trees (Challenge) | CodeChef