#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*/ printf(char *, char);
int /*<<< orphan*/ scanf(char *, char *);
int strlen(char *);
int main() {
  char s[101];
  scanf("%s", s);
  int len;
  len = strlen(s);
  char ch;
  for (int i = 0; i < len; i++) {
    ch = s[i];
    if (ch <= 90)
      ch += 32;
    if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') {
    } else {
      printf(".%c", ch);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x70(%rbp),%rsi
lea    0xeb3(%rip),%rdi
call   1050 <scanf@plt>
lea    -0x70(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x74(%rbp)
movl   $0x0,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
cmp    -0x74(%rbp),%eax
jge    11fc <main+0xcc>
movslq -0x7c(%rbp),%rax
mov    -0x70(%rbp,%rax,1),%al
mov    %al,-0x75(%rbp)
movsbl -0x75(%rbp),%eax
cmp    $0x5a,%eax
jg     1193 <main+0x63>
movsbl -0x75(%rbp),%eax
add    $0x20,%eax
mov    %al,-0x75(%rbp)
movsbl -0x75(%rbp),%eax
cmp    $0x61,%eax
je     11d4 <main+0xa4>
movsbl -0x75(%rbp),%eax
cmp    $0x65,%eax
je     11d4 <main+0xa4>
movsbl -0x75(%rbp),%eax
cmp    $0x69,%eax
je     11d4 <main+0xa4>
movsbl -0x75(%rbp),%eax
cmp    $0x6f,%eax
je     11d4 <main+0xa4>
movsbl -0x75(%rbp),%eax
cmp    $0x75,%eax
jne    11d9 <main+0xa9>
jmp    11e9 <main+0xb9>
lea    0xe23(%rip),%rdi
movsbl -0x75(%rbp),%esi
call   1040 <printf@plt>
jmp    11ee <main+0xbe>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    1165 <main+0x35>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x68,%rsp
lea    0xebe(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1050 <scanf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
jle    11ae <main+0x7e>
mov    %eax,%r15d
xor    %ebx,%ebx
lea    0xe9e(%rip),%r14
mov    $0x495,%r12d
jmp    1189 <main+0x59>
movsbl %al,%esi
mov    %r14,%rdi
call   1040 <printf@plt>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbx
cmp    %rbx,%r15
je     11ae <main+0x7e>
movzbl (%rsp,%rbx,1),%ecx
lea    0x20(%rcx),%eax
cmp    $0x5b,%cl
movzbl %al,%eax
cmovge %ecx,%eax
lea    -0x61(%rax),%ecx
ror    %cl
cmp    $0xa,%cl
ja     116d <main+0x3d>
movzbl %cl,%ecx
bt     %rcx,%r12
jb     1180 <main+0x50>
jmp    116d <main+0x3d>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c".%c\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [101 x i8]
%3 = alloca i32
%4 = alloca i8
%5 = alloca i32
store i32 0, i32* %1
%6 = getelementptr inbounds [101 x i8], [101 x i8]* %2, i64 0, i64 0
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %6)
%8 = getelementptr inbounds [101 x i8], [101 x i8]* %2, i64 0, i64 0
%9 = call i32 @strlen(i8* %8)
store i32 %9, i32* %3
store i32 0, i32* %5
br label %10
10: ; preds = %52, %0
%11 = load i32, i32* %5
%12 = load i32, i32* %3
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %55
14: ; preds = %10
%15 = load i32, i32* %5
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [101 x i8], [101 x i8]* %2, i64 0, i64 %16
%18 = load i8, i8* %17
store i8 %18, i8* %4
%19 = load i8, i8* %4
%20 = sext i8 %19 to i32
%21 = icmp sle i32 %20, 90
br i1 %21, label %22, label %27
22: ; preds = %14
%23 = load i8, i8* %4
%24 = sext i8 %23 to i32
%25 = add nsw i32 %24, 32
%26 = trunc i32 %25 to i8
store i8 %26, i8* %4
br label %27
27: ; preds = %22, %14
%28 = load i8, i8* %4
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 97
br i1 %30, label %47, label %31
31: ; preds = %27
%32 = load i8, i8* %4
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 101
br i1 %34, label %47, label %35
35: ; preds = %31
%36 = load i8, i8* %4
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 105
br i1 %38, label %47, label %39
39: ; preds = %35
%40 = load i8, i8* %4
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 111
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = load i8, i8* %4
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 117
br i1 %46, label %47, label %48
47: ; preds = %43, %39, %35, %31, %27
br label %51
48: ; preds = %43
%49 = load i8, i8* %4
%50 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext %49)
br label %51
51: ; preds = %48, %47
br label %52
52: ; preds = %51
%53 = load i32, i32* %5
%54 = add nsw i32 %53, 1
store i32 %54, i32* %5
br label %10
55: ; preds = %10
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c".%c\00"
define i32 @main() {
%1 = alloca [101 x i8]
%2 = getelementptr inbounds [101 x i8], [101 x i8]* %1, i64 0, i64 0
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
%4 = call i32 @strlen(i8* %2)
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = zext i32 %4 to i64
br label %9
8: ; preds = %20, %0
ret i32 0
9: ; preds = %6, %20
%10 = phi i64 [ 0, %6 ], [ %21, %20 ]
%11 = getelementptr inbounds [101 x i8], [101 x i8]* %1, i64 0, i64 %10
%12 = load i8, i8* %11
%13 = icmp slt i8 %12, 91
%14 = add i8 %12, 32
%15 = select i1 %13, i8 %14, i8 %12
%16 = add i8 %15, -97
%17 = call i8 @llvm.fshl.i8(i8 %16, i8 %16, i8 7)
switch i8 %17, label %18 [
i8 10, label %20
i8 7, label %20
i8 4, label %20
i8 2, label %20
i8 0, label %20
]
18: ; preds = %9
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext %15)
br label %20
20: ; preds = %9, %9, %9, %9, %9, %18
%21 = add nuw nsw i64 %10, 1
%22 = icmp eq i64 %21, %7
br i1 %22, label %8, label %9
}