Linda, Miah, and Noah are all wearing hats with numbers on them. Each person adds the two numbers on the other two hats, and they come up with the totals \(11\), \(17\), and \(28\). What is the largest number that is on a hat?