Calculate the greatest number that leaves remainders \(2\) and \(14\) when dividing \(182\) and \(302\) respectively.