Annabelle's password is a 3-digit code that uses the numbers 0, 1, and 2. How many possible outcomes are there for Annabelle's password if the digits can repeat?

27
9
21
3