puts STDIN.read.match(/^([w?][oa?]|[n?])*$/)?"Yes":"No"