while 1:S="1 2 3 4 5 6 Do it!!";I=raw_input();i=len(I);print['Miss...',S[i:]][I==S[:i]]