s[9];main(c){for(;gets(s);)puts(strstr(c="1 2 3 4 5 6 Do it!!",s)-c?"Miss...":c+strlen(s));}