There are a total of 12 patrons who came in cars + 27 from a bus = <<12+27=39>>39 patrons who need a ride to the main lot.
3 patrons can fit in each golf cart, so 39 patrons / 3 in a cart = <<39/3=13>>13 total carts.
#### 13