Let \( S=\{1,2,3,\ldots,2022\} \). Then the probability, that a randomly chosen number \(n\) from the set \(S\) such that \(\mathrm{HCF}(n,2022)=1\), is:
\( \dfrac{128}{1011} \)
\( \dfrac{166}{1011} \)
\( \dfrac{127}{337} \)
\( \dfrac{112}{337} \)