Use 123 three digits to form four digits. Among the possible four digits, how many are at least two consecutive digits 2? Why 19? What are there?

Use 123 three digits to form four digits. Among the possible four digits, how many are at least two consecutive digits 2? Why 19? What are there?

It can be divided into three categories: 1. There are two consecutive 2:3 * 2 * 2; 2. There are three consecutive 2:3 * 2; 3. There are four two: 1