user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x61000(%rsp),%r11
L11:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L11
  sub    $0xad8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x61ac8(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x1c(%rsp)
  lea    0x1c(%rsp),%rsi
  lea    D47(%rip),%rdi
  call   <scanf@plt>
  mov    0x1c(%rsp),%esi
  test   %esi,%esi
  jle    L28
  lea    0x20(%rsp),%rbx
  mov    %rbx,%r12
  mov    $0x0,%ebp
  lea    D30(%rip),%r13
L14:
  mov    %r12,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebp
  mov    0x1c(%rsp),%esi
  add    $0x4,%r12
  cmp    %ebp,%esi
  jg     L14
  test   %esi,%esi
  jle    L27
  mov    $0x0,%ebp
  mov    D100(%rip),%r12d
  movss  D51(%rip),%xmm6
  movss  %xmm6,0x8(%rsp)
  movss  D147(%rip),%xmm7
  movss  %xmm7,0x4(%rsp)
L75:
  movss  (%rbx),%xmm1
  movss  0x4(%rsp),%xmm0
  call   <min@plt>
  movss  %xmm0,0x4(%rsp)
  movss  (%rbx),%xmm1
  movss  0x8(%rsp),%xmm0
  call   <max@plt>
  movss  %xmm0,0x8(%rsp)
  movd   %r12d,%xmm3
  addss  (%rbx),%xmm3
  movd   %xmm3,%r12d
  add    $0x1,%ebp
  mov    0x1c(%rsp),%esi
  add    $0x4,%rbx
  cmp    %ebp,%esi
  jg     L75
L22:
  pxor   %xmm0,%xmm0
  cvtsi2ss %esi,%xmm0
  movd   %r12d,%xmm4
  divss  %xmm0,%xmm4
  movss  %xmm4,0xc(%rsp)
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm4,%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd 0x8(%rsp),%xmm1
  movss  0x4(%rsp),%xmm0
  lea    D110(%rip),%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  movss  0x8(%rsp),%xmm1
  subss  0x4(%rsp),%xmm1
  movss  D122(%rip),%xmm0
  subss  %xmm1,%xmm0
  movss  0xc(%rsp),%xmm4
  mulss  %xmm4,%xmm0
  mulss  %xmm4,%xmm0
  mulss  D64(%rip),%xmm0
  lea    D49(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x61ac8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L63
  mov    $0x0,%eax
  add    $0x61ad8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L28:
  mov    D100(%rip),%r12d
  movss  D51(%rip),%xmm2
  movss  %xmm2,0x8(%rsp)
  movss  D147(%rip),%xmm2
  movss  %xmm2,0x4(%rsp)
  jmp    L22
L27:
  mov    D100(%rip),%r12d
  movss  D51(%rip),%xmm2
  movss  %xmm2,0x8(%rsp)
  movss  D147(%rip),%xmm2
  movss  %xmm2,0x4(%rsp)
  jmp    L22
L63:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D47
data_type: string
name: unpack_data
arguments: data_tag: D30
data_type: string
name: unpack_data
arguments: data_tag: D100
data_type: byte[4]
name: unpack_data
arguments: data_tag: D51
data_type: byte[4]
name: unpack_data
arguments: data_tag: D147
data_type: byte[4]
name: unpack_data
arguments: data_tag: D110
data_type: string
name: unpack_data
arguments: data_tag: D122
data_type: byte[4]
name: unpack_data
arguments: data_tag: D64
data_type: byte[4]
name: unpack_data
arguments: data_tag: D49
data_type: string

tool: D47: %d

tool: D30: %f

tool: {"D100": [0x00,0x00,0x00,0x00]}

tool: {"D51": [0x00,0x00,0x80,0xbf]}

tool: {"D147": [0x00,0x00,0xf0,0x41]}

tool: D110: min=%f max=%f mean=%f n=%d


tool: {"D122": [0x00,0x00,0xa0,0x41]}

tool: {"D64": [0x0a,0xd7,0x23,0x3c]}

tool: D49: %.2f


assistant: ```c
int main() {
  int n = 0;
  float l[100010];
  scanf("%d", &n);
  for (int i = 0; i < n; ++i)
    scanf("%f", &l[i]);
  float mini = 30.f, maxi = -1.f, mean = 0.f;
  for (int i = 0; i < n; ++i) {
    mini = min(mini, l[i]);
    maxi = max(maxi, l[i]);
    mean += l[i];
  }
  mean = mean / (1.f * n);
  printf("min=%f max=%f mean=%f n=%d\n", mini, maxi, mean, n);
  printf("%.2f\n", (20.f - (maxi - mini)) * mean * mean * 0.01f);
  return 0;
}
```