\(\left(1-\frac{1}{2018}\right)\times\left(1-\frac{1}{2019}\right)\times\left(1-\frac{1}{2020}\right)\times\left(1-\frac{1}{2021}\right)\times\left(1-\frac{1}{2022}\right)\)
\(=\frac{2017}{2018}\times\frac{2018}{2019}\times\frac{2019}{2020}\times\frac{2020}{2021}\times\frac{2021}{2022}\)
\(=\frac{2017}{2022}\)