Farmer Jonson is putting together vegetable baskets. He has 270 carrots and 180 beets. What is the largest number of baskets he can put together so that he can have the same number of carrots in each basket and the same number of beets in each basket?