Find the smallest positive integer $x$ (measured in degrees) such that
\[\tan (x - 160^{\circ}) = \frac{\cos50^{\circ}}{1 - \sin50^{\circ}}.\]
We can write $\frac{\cos 50^\circ}{1 - \sin 50^\circ} = \frac{\sin 40^\circ}{1 - \cos 40^\circ}.$  By the half-angle formula,
\[\frac{\sin 40^\circ}{1 - \cos 40^\circ} = \frac{1}{\tan 20^\circ} = \tan 70^\circ.\]We want
\[\tan (x - 160^\circ) = \tan 70^\circ,\]so $x - 160^\circ - 70^\circ = 180^\circ n$ for some integer $n,$ or
\[x = 180^\circ n + 230^\circ.\]Taking $n = -1$ to get the smallest positive value, we get $x = \boxed{50^\circ}.$