import re input() print(("Yes" if re.fullmatch("^(wa|wo|n|w\\?|\\?a|\\?o|\\?)*$", input()) else "No"))