The total number of three-digit numbers, divisible by \( 3 \), which can be formed using the digits \( 1,3,5,8 \), if repetition of digits is allowed, is:
\(18\)
\(20\)
\(22\)
\(21\)