##
class BeautifulWord:
    @classmethod
    def solution(self,s):
        vowel = "aeiouy"
        for i,c in enumerate(s[1:], start=1):
            if s[i-1]==s[i]: return False
            if s[i-1] in vowel and s[i] in vowel: return False
        return True
            

    @classmethod
    def main(self):
        if self.solution(input().strip()): print("Yes")
        else: print("No")

BeautifulWord.main()
##



a9abef9aa4457d598372d698990d2f150f6d76ac
class BeautifulWord:
    <mask token>
    <mask token>


<mask token>

class BeautifulWord:

    @classmethod
    def solution(self, s):
        vowel = 'aeiouy'
        for i, c in enumerate(s[1:], start=1):
            if s[i - 1] == s[i]:
                return False
            if s[i - 1] in vowel and s[i] in vowel:
                return False
        return True
    <mask token>


<mask token>

class BeautifulWord:

    @classmethod
    def solution(self, s):
        vowel = 'aeiouy'
        for i, c in enumerate(s[1:], start=1):
            if s[i - 1] == s[i]:
                return False
            if s[i - 1] in vowel and s[i] in vowel:
                return False
        return True

    @classmethod
    def main(self):
        if self.solution(input().strip()):
            print('Yes')
        else:
            print('No')


<mask token>

class BeautifulWord:

    @classmethod
    def solution(self, s):
        vowel = 'aeiouy'
        for i, c in enumerate(s[1:], start=1):
            if s[i - 1] == s[i]:
                return False
            if s[i - 1] in vowel and s[i] in vowel:
                return False
        return True

    @classmethod
    def main(self):
        if self.solution(input().strip()):
            print('Yes')
        else:
            print('No')


BeautifulWord.main()

##
class BeautifulWord:
    @classmethod
    def solution(self,s):
        vowel = "aeiouy"
        for i,c in enumerate(s[1:], start=1):
            if s[i-1]==s[i]: return False
            if s[i-1] in vowel and s[i] in vowel: return False
        return True
            

    @classmethod
    def main(self):
        if self.solution(input().strip()): print("Yes")
        else: print("No")

BeautifulWord.main()
##


