#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 *, float);
int /*<<< orphan*/ scanf(char *, int *, int *);
int main(int argc, char const *argv[]) {
  int a, b;
  scanf("%d %d", &a, &b);
  if (b > 100) {
    printf("%.2f", (float)((b / a) * 90) + ((b % a) * 12));
  } else {
    printf("%.2f", (float)a * 90);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec7(%rip),%rdi
lea    -0x14(%rbp),%rsi
lea    -0x18(%rbp),%rdx
call   1040 <scanf@plt>
cmpl   $0x64,-0x18(%rbp)
jle    1185 <main+0x65>
mov    -0x18(%rbp),%eax
cltd
idivl  -0x14(%rbp)
imul   $0x5a,%eax,%eax
cvtsi2ss %eax,%xmm0
mov    -0x18(%rbp),%eax
cltd
idivl  -0x14(%rbp)
imul   $0xc,%edx,%eax
cvtsi2ss %eax,%xmm1
addss  %xmm1,%xmm0
lea    0xe8f(%rip),%rdi
call   1030 <printf@plt>
jmp    11a2 <main+0x82>
cvtsi2ssl -0x14(%rbp),%xmm0
movss  0xe6e(%rip),%xmm1
mulss  %xmm1,%xmm0
lea    0xe6d(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xedc(%rip),%rdi
lea    0x4(%rsp),%rsi
mov    %rsp,%rdx
call   1040 <scanf@plt>
mov    (%rsp),%eax
mov    0x4(%rsp),%ecx
cmp    $0x65,%eax
jl     115b <main+0x3b>
cltd
idiv   %ecx
imul   $0x5a,%eax,%eax
cvtsi2ss %eax,%xmm1
shl    $0x2,%edx
lea    (%rdx,%rdx,2),%eax
cvtsi2ss %eax,%xmm0
addss  %xmm1,%xmm0
jmp    1167 <main+0x47>
cvtsi2ss %ecx,%xmm0
mulss  0xe99(%rip),%xmm0
lea    0xe9c(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"%d %d\00"
@.str.1 = [5 x i8] c"%.2f\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %6, i32* %7)
%9 = load i32, i32* %7
%10 = icmp sgt i32 %9, 100
br i1 %10, label %11, label %24
11: ; preds = %2
%12 = load i32, i32* %7
%13 = load i32, i32* %6
%14 = sdiv i32 %12, %13
%15 = mul nsw i32 %14, 90
%16 = sitofp i32 %15 to float
%17 = load i32, i32* %7
%18 = load i32, i32* %6
%19 = srem i32 %17, %18
%20 = mul nsw i32 %19, 12
%21 = sitofp i32 %20 to float
%22 = fadd float %16, %21
%23 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %22)
br label %29
24: ; preds = %2
%25 = load i32, i32* %6
%26 = sitofp i32 %25 to float
%27 = fmul float %26, 9.000000e+01
%28 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %27)
br label %29
29: ; preds = %24, %11
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"%d %d\00"
@.str.1 = [5 x i8] c"%.2f\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32* %3, i32* %4)
%8 = load i32, i32* %4
%9 = icmp sgt i32 %8, 100
%10 = load i32, i32* %3
br i1 %9, label %11, label %19
11: ; preds = %2
%12 = sdiv i32 %8, %10
%13 = mul nsw i32 %12, 90
%14 = sitofp i32 %13 to float
%15 = srem i32 %8, %10
%16 = mul nsw i32 %15, 12
%17 = sitofp i32 %16 to float
%18 = fadd float %14, %17
br label %22
19: ; preds = %2
%20 = sitofp i32 %10 to float
%21 = fmul float %20, 9.000000e+01
br label %22
22: ; preds = %19, %11
%23 = phi float [ %21, %19 ], [ %18, %11 ]
%24 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), float %23)
ret i32 0
}