Suppose that \(\sec x+\tan x=\frac{22}7\) and that \(\csc x+\cot x=\frac mn,\) where \(\frac mn\) is in lowest terms. Find \(m+n^{}_{}.\)

(第九届AIME1991 第9题)