# Checking the Divisibility of a permutation

Let $$S$$ denote the set of numbers where each number is a permutation of the digits $$1,2,3,4,5,6,7,8$$. A number $$x$$ is chosen randomly from the set $$S$$. The probability that $$x$$ is divisible by 36 is $$\frac mn$$ where $$m$$ and $$n$$ are positive coprime integers. Find the value of $$m+n$$.

×