divisible and not divisible codechef solution