#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*/ fscanf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ goToDelimiter(char, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, float);
int /*<<< orphan*/ stdin;
scalar_t__ strcmp(int *, char *);
int main() {
  int str[1000];
  float prob_other;
  goToDelimiter('\n', stdin);
  while (1) {
    fscanf(stdin, "%s", str);
    fscanf(stdin, "%s", str);
    fscanf(stdin, "%s", str);
    fscanf(stdin, "%s", str);
    fscanf(stdin, "%s", str);
    fscanf(stdin, "%s", str);
    if (strcmp(str, (char *)"=")) {
      goToDelimiter('\n', stdin);
      goToDelimiter('\n', stdin);
      goToDelimiter('\n', stdin);
      goToDelimiter('\n', stdin);
    }
    goToDelimiter(']', stdin);
    goToDelimiter(' ', stdin);
    fscanf(stdin, "%f", &prob_other);
    printf("%E\n", prob_other);
    goToDelimiter('\n', stdin);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xfc0,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e8f(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    0x2e7c(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xe84(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    0x2e5e(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xe66(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    0x2e40(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xe48(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    0x2e22(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xe2a(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    0x2e04(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xe0c(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
mov    0x2de6(%rip),%rax
mov    (%rax),%edi
lea    -0xfb0(%rbp),%rdx
lea    0xdee(%rip),%rsi
mov    $0x0,%al
call   1040 <fscanf@plt>
lea    -0xfb0(%rbp),%rdi
lea    0xddc(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     1282 <main+0x142>
mov    0x2dab(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d98(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d85(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d72(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d5f(%rip),%rax
mov    (%rax),%esi
mov    $0x5d,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d4c(%rip),%rax
mov    (%rax),%esi
mov    $0x20,%edi
call   1060 <goToDelimiter@plt>
mov    0x2d39(%rip),%rax
mov    (%rax),%edi
lea    0xd4d(%rip),%rsi
lea    -0xfb4(%rbp),%rdx
mov    $0x0,%al
call   1040 <fscanf@plt>
movss  -0xfb4(%rbp),%xmm0
ff
lea    0xd33(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d07(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
jmp    1165 <main+0x25>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xfb8,%rsp
mov    0x2e90(%rip),%r15
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
lea    0xe94(%rip),%r14
lea    0x10(%rsp),%rbx
lea    0xe8d(%rip),%r12
lea    0xc(%rsp),%r13
lea    0xe84(%rip),%rbp
jmp    11d5 <main+0x95>
cs nopw 0x0(%rax,%rax,1)
mov    (%r15),%esi
mov    $0x5d,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%esi
mov    $0x20,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%edi
mov    %r12,%rsi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
movss  0xc(%rsp),%xmm0
mov    %rbp,%rdi
call   1030 <printf@plt>
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    (%r15),%edi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fscanf@plt>
mov    %rbx,%rdi
lea    0xdc4(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1190 <main+0x50>
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
mov    (%r15),%esi
mov    $0xa,%edi
call   1060 <goToDelimiter@plt>
jmp    1190 <main+0x50>

LLVM IR (-O0):
@stdin = global i32 0
@.str = [3 x i8] c"%s\00"
@.str.1 = [2 x i8] c"=\00"
@.str.2 = [3 x i8] c"%f\00"
@.str.3 = [4 x i8] c"%E\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [1000 x i32]
%3 = alloca float
store i32 0, i32* %1
%4 = load i32, i32* @stdin
%5 = call i32 @goToDelimiter(i8 signext 10, i32 %4)
br label %6
6: ; preds = %0, %37
%7 = load i32, i32* @stdin
%8 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%9 = call i32 (i32, i8*, ...) @fscanf(i32 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %8)
%10 = load i32, i32* @stdin
%11 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%12 = call i32 (i32, i8*, ...) @fscanf(i32 %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %11)
%13 = load i32, i32* @stdin
%14 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%15 = call i32 (i32, i8*, ...) @fscanf(i32 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %14)
%16 = load i32, i32* @stdin
%17 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%18 = call i32 (i32, i8*, ...) @fscanf(i32 %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %17)
%19 = load i32, i32* @stdin
%20 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%21 = call i32 (i32, i8*, ...) @fscanf(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %20)
%22 = load i32, i32* @stdin
%23 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%24 = call i32 (i32, i8*, ...) @fscanf(i32 %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %23)
%25 = getelementptr inbounds [1000 x i32], [1000 x i32]* %2, i64 0, i64 0
%26 = call i64 @strcmp(i32* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %37
28: ; preds = %6
%29 = load i32, i32* @stdin
%30 = call i32 @goToDelimiter(i8 signext 10, i32 %29)
%31 = load i32, i32* @stdin
%32 = call i32 @goToDelimiter(i8 signext 10, i32 %31)
%33 = load i32, i32* @stdin
%34 = call i32 @goToDelimiter(i8 signext 10, i32 %33)
%35 = load i32, i32* @stdin
%36 = call i32 @goToDelimiter(i8 signext 10, i32 %35)
br label %37
37: ; preds = %28, %6
%38 = load i32, i32* @stdin
%39 = call i32 @goToDelimiter(i8 signext 93, i32 %38)
%40 = load i32, i32* @stdin
%41 = call i32 @goToDelimiter(i8 signext 32, i32 %40)
%42 = load i32, i32* @stdin
%43 = call i32 (i32, i8*, ...) @fscanf(i32 %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %3)
%44 = load float, float* %3
%45 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), float %44)
%46 = load i32, i32* @stdin
%47 = call i32 @goToDelimiter(i8 signext 10, i32 %46)
br label %6
}

LLVM IR (-O2):
@stdin = global i32 0
@.str = [3 x i8] c"%s\00"
@.str.1 = [2 x i8] c"=\00"
@.str.2 = [3 x i8] c"%f\00"
@.str.3 = [4 x i8] c"%E\0A\00"
define i32 @main() {
%1 = alloca [1000 x i32]
%2 = alloca float
%3 = bitcast [1000 x i32]* %1 to i8*
%4 = bitcast float* %2 to i8*
%5 = load i32, i32* @stdin
%6 = tail call i32 @goToDelimiter(i8 signext 10, i32 %5)
%7 = getelementptr inbounds [1000 x i32], [1000 x i32]* %1, i64 0, i64 0
br label %8
8: ; preds = %32, %0
%9 = load i32, i32* @stdin
%10 = call i32 (i32, i8*, ...) @fscanf(i32 %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%11 = load i32, i32* @stdin
%12 = call i32 (i32, i8*, ...) @fscanf(i32 %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%13 = load i32, i32* @stdin
%14 = call i32 (i32, i8*, ...) @fscanf(i32 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%15 = load i32, i32* @stdin
%16 = call i32 (i32, i8*, ...) @fscanf(i32 %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%17 = load i32, i32* @stdin
%18 = call i32 (i32, i8*, ...) @fscanf(i32 %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%19 = load i32, i32* @stdin
%20 = call i32 (i32, i8*, ...) @fscanf(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %7)
%21 = call i64 @strcmp(i32* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %8
%24 = load i32, i32* @stdin
%25 = call i32 @goToDelimiter(i8 signext 10, i32 %24)
%26 = load i32, i32* @stdin
%27 = call i32 @goToDelimiter(i8 signext 10, i32 %26)
%28 = load i32, i32* @stdin
%29 = call i32 @goToDelimiter(i8 signext 10, i32 %28)
%30 = load i32, i32* @stdin
%31 = call i32 @goToDelimiter(i8 signext 10, i32 %30)
br label %32
32: ; preds = %23, %8
%33 = load i32, i32* @stdin
%34 = call i32 @goToDelimiter(i8 signext 93, i32 %33)
%35 = load i32, i32* @stdin
%36 = call i32 @goToDelimiter(i8 signext 32, i32 %35)
%37 = load i32, i32* @stdin
%38 = call i32 (i32, i8*, ...) @fscanf(i32 %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %2)
%39 = load float, float* %2
%40 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), float %39)
%41 = load i32, i32* @stdin
%42 = call i32 @goToDelimiter(i8 signext 10, i32 %41)
br label %8
}