s=input() t="kadomatsu" i=0 for j in range(len(t)): if i