This is the conventional application of a 1 out of 10 decoder with CMOS 4017, as shown in an old American Cookbook. The circuit can be powered by voltages from 5 to 15 V and the maximum input frequency is of the order of 7 MHz, depending on the supply voltage.