Find the number of positive integers that satisfy both the following conditions:
Each digit is a 1 or a 2
The sum of the digits is 3
The answer is 12.