Write the smallest number which is divisible by both 306 and 657.