#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 *, double);
int main(int argc, char *argv[]) {
  double a, b, c;
  a = 11733;
  b = 3896;
  c = 21447;
  a = 20257 + a;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  b = 10311 - b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  c = 22493 - a;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  a = 12280 - c;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  c = 31636 - a;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  b = 23142 + b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  b = 27987 * b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  a = 13771 + b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  a = 18978 * b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  a = 1045 + b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  c = 27335 + b;
  a = a + 1;
  b = b + 1;
  c = c + 1;
  printf("%g\n", (a + b + c) / 3);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  0xf4a(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xf35(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xf20(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xf0b(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xea1(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xe8f(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe7d(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xebb(%rip),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe59(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xe47(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe35(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe6b(%rip),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe11(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xdff(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xded(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe1b(%rip),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xdc9(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xdb7(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xda5(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xdcb(%rip),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xd81(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xd6f(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd5d(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xd7b(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd39(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xd27(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd15(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xd2b(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xcf1(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xcdf(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xccd(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xcdb(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xca9(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xc97(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xc85(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xc8b(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xc61(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xc4f(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xc3d(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xc3b(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xc19(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xc07(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xbf5(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xbeb(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xbd1(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xbbf(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xbad(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  0xb84(%rip),%xmm1
divsd  %xmm1,%xmm0
lea    0xbf9(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xef0(%rip),%rdi
movsd  0xee0(%rip),%xmm0
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%g\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
%7 = alloca double
%8 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store double 1.173300e+04, double* %6
store double 3.896000e+03, double* %7
store double 2.144700e+04, double* %8
%9 = load double, double* %6
%10 = fadd double 2.025700e+04, %9
store double %10, double* %6
%11 = load double, double* %6
%12 = fadd double %11, 1.000000e+00
store double %12, double* %6
%13 = load double, double* %7
%14 = fadd double %13, 1.000000e+00
store double %14, double* %7
%15 = load double, double* %8
%16 = fadd double %15, 1.000000e+00
store double %16, double* %8
%17 = load double, double* %7
%18 = fsub double 1.031100e+04, %17
store double %18, double* %7
%19 = load double, double* %6
%20 = fadd double %19, 1.000000e+00
store double %20, double* %6
%21 = load double, double* %7
%22 = fadd double %21, 1.000000e+00
store double %22, double* %7
%23 = load double, double* %8
%24 = fadd double %23, 1.000000e+00
store double %24, double* %8
%25 = load double, double* %6
%26 = fsub double 2.249300e+04, %25
store double %26, double* %8
%27 = load double, double* %6
%28 = fadd double %27, 1.000000e+00
store double %28, double* %6
%29 = load double, double* %7
%30 = fadd double %29, 1.000000e+00
store double %30, double* %7
%31 = load double, double* %8
%32 = fadd double %31, 1.000000e+00
store double %32, double* %8
%33 = load double, double* %8
%34 = fsub double 1.228000e+04, %33
store double %34, double* %6
%35 = load double, double* %6
%36 = fadd double %35, 1.000000e+00
store double %36, double* %6
%37 = load double, double* %7
%38 = fadd double %37, 1.000000e+00
store double %38, double* %7
%39 = load double, double* %8
%40 = fadd double %39, 1.000000e+00
store double %40, double* %8
%41 = load double, double* %6
%42 = fsub double 3.163600e+04, %41
store double %42, double* %8
%43 = load double, double* %6
%44 = fadd double %43, 1.000000e+00
store double %44, double* %6
%45 = load double, double* %7
%46 = fadd double %45, 1.000000e+00
store double %46, double* %7
%47 = load double, double* %8
%48 = fadd double %47, 1.000000e+00
store double %48, double* %8
%49 = load double, double* %7
%50 = fadd double 2.314200e+04, %49
store double %50, double* %7
%51 = load double, double* %6
%52 = fadd double %51, 1.000000e+00
store double %52, double* %6
%53 = load double, double* %7
%54 = fadd double %53, 1.000000e+00
store double %54, double* %7
%55 = load double, double* %8
%56 = fadd double %55, 1.000000e+00
store double %56, double* %8
%57 = load double, double* %7
%58 = fmul double 2.798700e+04, %57
store double %58, double* %7
%59 = load double, double* %6
%60 = fadd double %59, 1.000000e+00
store double %60, double* %6
%61 = load double, double* %7
%62 = fadd double %61, 1.000000e+00
store double %62, double* %7
%63 = load double, double* %8
%64 = fadd double %63, 1.000000e+00
store double %64, double* %8
%65 = load double, double* %7
%66 = fadd double 1.377100e+04, %65
store double %66, double* %6
%67 = load double, double* %6
%68 = fadd double %67, 1.000000e+00
store double %68, double* %6
%69 = load double, double* %7
%70 = fadd double %69, 1.000000e+00
store double %70, double* %7
%71 = load double, double* %8
%72 = fadd double %71, 1.000000e+00
store double %72, double* %8
%73 = load double, double* %7
%74 = fmul double 1.897800e+04, %73
store double %74, double* %6
%75 = load double, double* %6
%76 = fadd double %75, 1.000000e+00
store double %76, double* %6
%77 = load double, double* %7
%78 = fadd double %77, 1.000000e+00
store double %78, double* %7
%79 = load double, double* %8
%80 = fadd double %79, 1.000000e+00
store double %80, double* %8
%81 = load double, double* %7
%82 = fadd double 1.045000e+03, %81
store double %82, double* %6
%83 = load double, double* %6
%84 = fadd double %83, 1.000000e+00
store double %84, double* %6
%85 = load double, double* %7
%86 = fadd double %85, 1.000000e+00
store double %86, double* %7
%87 = load double, double* %8
%88 = fadd double %87, 1.000000e+00
store double %88, double* %8
%89 = load double, double* %7
%90 = fadd double 2.733500e+04, %89
store double %90, double* %8
%91 = load double, double* %6
%92 = fadd double %91, 1.000000e+00
store double %92, double* %6
%93 = load double, double* %7
%94 = fadd double %93, 1.000000e+00
store double %94, double* %7
%95 = load double, double* %8
%96 = fadd double %95, 1.000000e+00
store double %96, double* %8
%97 = load double, double* %6
%98 = load double, double* %7
%99 = fadd double %97, %98
%100 = load double, double* %8
%101 = fadd double %99, %100
%102 = fdiv double %101, 3.000000e+00
%103 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double %102)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%g\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 0x41C8A80D1A000000)
ret i32 0
}