You are buying a triple deck ice cream cone with fudge
​,
peach
​,
and vanilla

as possible flavors. The flavors can be repeated or​ not, and two cones are considered to be different if the flavors are the same but occur in different order. How many different cones are possible that have 3

different flavors
​?