>>766
#include<stdio.h>
#include<string.h>
int main(){
    char buf[51],*p=buf,*q;
    int count = 0;
    gets(buf);
    while((q=strstr(p,"ok")) != NULL)
        p=q+2,++count;
    printf(count?"Yes %d":"No",count);
    return 0;
}