99 ≡ 387,420,489 ≡ 5 (mod 22)
However I have tried to reach this result using the following steps and I got it wrong:
99 ≡ 93 x 93 x 93 ≡ 729 x 729 x 729 ≡ 3 x 3 x 3 ≡ 18 (mod 22)
I can use this substitution in sum operations, but is it correct to say that I cannot do the same for multiplications?
$3^3 = 27 \equiv 5 \,(\text{mod}\,\,22)$