#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ free(char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, char *);
int strlen(char *);
int main() {
  char *w = (char *)malloc(101 * sizeof(char));
  memset(w, 0, 101);
  scanf("%s", w);
  char vowels[6] = {'a', 'e', 'i', 'o', 'u', 'y'};
  int len = strlen(w);
  int i;
  char pre = 0;
  int flag = 0;
  for (i = 0; i < len; i++) {
    char cur = w[i];
    if (pre && pre == cur) {
      break;
    }
    int j;
    for (j = 0; j < 6; j++) {
      if (vowels[j] == cur) {
        break;
      }
    }
    if (6 == j) {
      flag = 0;
    } else {
      if (1 == flag) {
        break;
      }
      flag = 1;
    }
    pre = cur;
  }
  if (len == i) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  free(w);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x65,%edi
call   1070 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
xor    %esi,%esi
mov    $0x65,%edx
call   1060 <memset@plt>
mov    -0x10(%rbp),%rsi
lea    0xe68(%rip),%rdi
call   1080 <scanf@plt>
mov    0xe69(%rip),%eax
mov    %eax,-0x16(%rbp)
mov    0xe63(%rip),%ax
mov    %ax,-0x12(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x1c(%rbp)
movb   $0x0,-0x21(%rbp)
movl   $0x0,-0x28(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1291 <main+0x131>
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,-0x29(%rbp)
movsbl -0x21(%rbp),%eax
cmp    $0x0,%eax
je     120b <main+0xab>
movsbl -0x21(%rbp),%eax
movsbl -0x29(%rbp),%ecx
cmp    %ecx,%eax
jne    120b <main+0xab>
jmp    1291 <main+0x131>
movl   $0x0,-0x30(%rbp)
cmpl   $0x6,-0x30(%rbp)
jge    1249 <main+0xe9>
movslq -0x30(%rbp),%rax
movsbl -0x16(%rbp,%rax,1),%eax
movsbl -0x29(%rbp),%ecx
cmp    %ecx,%eax
jne    1236 <main+0xd6>
jmp    1249 <main+0xe9>
jmp    123b <main+0xdb>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1212 <main+0xb2>
mov    $0x6,%eax
cmp    -0x30(%rbp),%eax
jne    1263 <main+0x103>
movl   $0x0,-0x28(%rbp)
jmp    127d <main+0x11d>
mov    $0x1,%eax
cmp    -0x28(%rbp),%eax
jne    1276 <main+0x116>
jmp    1291 <main+0x131>
movl   $0x1,-0x28(%rbp)
mov    -0x29(%rbp),%al
mov    %al,-0x21(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11cf <main+0x6f>
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jne    12ae <main+0x14e>
lea    0xd5f(%rip),%rdi
call   1050 <printf@plt>
jmp    12ba <main+0x15a>
lea    0xd53(%rip),%rdi
call   1050 <printf@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
mov    $0x65,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
xor    %ebx,%ebx
mov    %rax,%rdi
xor    %esi,%esi
mov    $0x65,%edx
call   1060 <memset@plt>
lea    0xe77(%rip),%rdi
mov    %r14,%rsi
call   1080 <scanf@plt>
mov    %r14,%rdi
call   1050 <strlen@plt>
test   %eax,%eax
jle    11ff <main+0x9f>
mov    %eax,%r9d
xor    %ebx,%ebx
lea    0xe5d(%rip),%rdi
mov    $0x1495,%r8d
xor    %ecx,%ecx
xor    %r10d,%r10d
jmp    11cb <main+0x6b>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rbx
mov    %edx,%ecx
cmp    %rbx,%r9
je     1213 <main+0xb3>
mov    %r10d,%edx
movzbl (%r14,%rbx,1),%r10d
test   %dl,%dl
je     11dc <main+0x7c>
cmp    %r10b,%dl
je     11ff <main+0x9f>
lea    -0x61(%r10),%esi
ror    %sil
xor    %edx,%edx
cmp    $0xc,%sil
ja     11c0 <main+0x60>
movzbl %sil,%esi
bt     %rsi,%r8
jae    11c0 <main+0x60>
mov    $0x1,%edx
cmp    $0x1,%ecx
jne    11c0 <main+0x60>
cmp    %ebx,%eax
lea    0xdfe(%rip),%rax
lea    0xdf4(%rip),%rdi
cmove  %rax,%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@__const.main.vowels = [6 x i8] c"aeiouy"
@.str.1 = [5 x i8] c"Yes\0A\00"
@.str.2 = [4 x i8] c"No\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca [6 x i8]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8
%7 = alloca i32
%8 = alloca i8
%9 = alloca i32
store i32 0, i32* %1
%10 = call i64 @malloc(i32 101)
%11 = inttoptr i64 %10 to i8*
store i8* %11, i8** %2
%12 = load i8*, i8** %2
%13 = call i32 @memset(i8* %12, i32 0, i32 101)
%14 = load i8*, i8** %2
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %14)
%16 = bitcast [6 x i8]* %3 to i8*
%17 = load i8*, i8** %2
%18 = call i32 @strlen(i8* %17)
store i32 %18, i32* %4
store i8 0, i8* %6
store i32 0, i32* %7
store i32 0, i32* %5
br label %19
19: ; preds = %68, %0
%20 = load i32, i32* %5
%21 = load i32, i32* %4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %71
23: ; preds = %19
%24 = load i8*, i8** %2
%25 = load i32, i32* %5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, i8* %24, i64 %26
%28 = load i8, i8* %27
store i8 %28, i8* %8
%29 = load i8, i8* %6
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %23
%33 = load i8, i8* %6
%34 = sext i8 %33 to i32
%35 = load i8, i8* %8
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %34, %36
br i1 %37, label %38, label %39
38: ; preds = %32
br label %71
39: ; preds = %32, %23
store i32 0, i32* %9
br label %40
40: ; preds = %54, %39
%41 = load i32, i32* %9
%42 = icmp slt i32 %41, 6
br i1 %42, label %43, label %57
43: ; preds = %40
%44 = load i32, i32* %9
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [6 x i8], [6 x i8]* %3, i64 0, i64 %45
%47 = load i8, i8* %46
%48 = sext i8 %47 to i32
%49 = load i8, i8* %8
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %48, %50
br i1 %51, label %52, label %53
52: ; preds = %43
br label %57
53: ; preds = %43
br label %54
54: ; preds = %53
%55 = load i32, i32* %9
%56 = add nsw i32 %55, 1
store i32 %56, i32* %9
br label %40
57: ; preds = %52, %40
%58 = load i32, i32* %9
%59 = icmp eq i32 6, %58
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 0, i32* %7
br label %66
61: ; preds = %57
%62 = load i32, i32* %7
%63 = icmp eq i32 1, %62
br i1 %63, label %64, label %65
64: ; preds = %61
br label %71
65: ; preds = %61
store i32 1, i32* %7
br label %66
66: ; preds = %65, %60
%67 = load i8, i8* %8
store i8 %67, i8* %6
br label %68
68: ; preds = %66
%69 = load i32, i32* %5
%70 = add nsw i32 %69, 1
store i32 %70, i32* %5
br label %19
71: ; preds = %64, %38, %19
%72 = load i32, i32* %4
%73 = load i32, i32* %5
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %71
%76 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %79
77: ; preds = %71
%78 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %79
79: ; preds = %77, %75
%80 = load i8*, i8** %2
%81 = call i32 @free(i8* %80)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@str = [3 x i8] c"No\00"
@str.3 = [4 x i8] c"Yes\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 101)
%2 = inttoptr i64 %1 to i8*
%3 = tail call i32 @memset(i8* %2, i32 0, i32 101)
%4 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
%5 = tail call i32 @strlen(i8* %2)
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %29
7: ; preds = %0
%8 = zext i32 %5 to i64
br label %9
9: ; preds = %7, %23
%10 = phi i64 [ 0, %7 ], [ %25, %23 ]
%11 = phi i32 [ 0, %7 ], [ %24, %23 ]
%12 = phi i8 [ 0, %7 ], [ %14, %23 ]
%13 = getelementptr inbounds i8, i8* %2, i64 %10
%14 = load i8, i8* %13
%15 = icmp ne i8 %12, 0
%16 = icmp eq i8 %12, %14
%17 = select i1 %15, i1 %16, i1 false
br i1 %17, label %27, label %18
18: ; preds = %9
%19 = add i8 %14, -97
%20 = call i8 @llvm.fshl.i8(i8 %19, i8 %19, i8 7)
switch i8 %20, label %23 [
i8 0, label %21
i8 2, label %21
i8 4, label %21
i8 7, label %21
i8 10, label %21
i8 12, label %21
]
21: ; preds = %18, %18, %18, %18, %18, %18
%22 = icmp eq i32 %11, 1
br i1 %22, label %27, label %23
23: ; preds = %18, %21
%24 = phi i32 [ 1, %21 ], [ 0, %18 ]
%25 = add nuw nsw i64 %10, 1
%26 = icmp eq i64 %25, %8
br i1 %26, label %33, label %9
27: ; preds = %21, %9
%28 = trunc i64 %10 to i32
br label %29
29: ; preds = %27, %0
%30 = phi i32 [ 0, %0 ], [ %28, %27 ]
%31 = icmp eq i32 %5, %30
%32 = select i1 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0)
br label %33
33: ; preds = %23, %29
%34 = phi i8* [ %32, %29 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @str.3, i64 0, i64 0), %23 ]
%35 = tail call i32 @puts(i8* dereferenceable(1) %34)
%36 = tail call i32 @free(i8* %2)
ret i32 0
}