In 2015, the corporations securing the most patents in a country were Company A and Company B. Together, the two corporations secured a total of 12 comma 302 patents, with Company A receiving 2012 fewer patents than Company B. How many patents did each corporation secure?