The largest number which divides \(160\) and \(287\), leaving remainder \(5\) and \(8\), respectively, is