user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D6(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    -0x44(%rbp),%rsi
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  mov    -0x44(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x44(%rbp)
  test   %eax,%eax
  je     L83
  lea    -0x40(%rbp),%rax
  lea    D33(%rip),%rbx
  mov    %rax,-0x58(%rbp)
  nopl   0x0(%rax)
L69:
  mov    -0x58(%rbp),%rsi
  lea    D41(%rip),%rdi
  xor    %eax,%eax
  mov    %rsp,%r12
  call   <scanf@plt>
  mov    -0x40(%rbp),%rcx
  mov    %rsp,%rsi
  lea    0xf(,%rcx,8),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rsi,%rsp
  je     L71
L155:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L155
L71:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L138
  orq    $0x0,-0x8(%rsp,%rdx,1)
L138:
  mov    %rsp,%r15
  test   %rcx,%rcx
  je     L86
  mov    %r15,%r14
  xor    %r13d,%r13d
  nopl   0x0(%rax)
L90:
  mov    %r14,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  add    $0x1,%r13
  call   <scanf@plt>
  mov    -0x40(%rbp),%rcx
  add    $0x8,%r14
  cmp    %r13,%rcx
  ja     L90
  test   %rcx,%rcx
  je     L86
  xor    %esi,%esi
  nopl   0x0(%rax)
L37:
  mov    (%r15,%rsi,8),%rax
  xor    %edx,%edx
  div    %rcx
  mov    %rdx,(%r15,%rsi,8)
  add    $0x1,%rsi
  cmp    %rsi,%rcx
  jne    L37
  cmp    $0x1,%rcx
  je     L97
  mov    %rcx,%rsi
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  shr    %rsi
  nopl   0x0(%rax)
L25:
  mov    %rax,%rdx
  add    $0x1,%rax
  shl    $0x4,%rdx
  movdqu (%r15,%rdx,1),%xmm1
  paddq  %xmm1,%xmm0
  cmp    %rax,%rsi
  jne    L25
  movdqa %xmm0,%xmm1
  mov    %rcx,%rdx
  psrldq $0x8,%xmm1
  and    $0xfffffffffffffffe,%rdx
  paddq  %xmm1,%xmm0
  movq   %xmm0,%rax
  test   $0x1,%cl
  je     L135
L104:
  add    (%r15,%rdx,8),%rax
L135:
  xor    %edx,%edx
  div    %rcx
  test   %rdx,%rdx
  je     L86
  lea    D11(%rip),%rdi
  call   <printf@plt>
L95:
  mov    -0x44(%rbp),%eax
  mov    %r12,%rsp
  lea    -0x1(%rax),%edx
  mov    %edx,-0x44(%rbp)
  test   %eax,%eax
  jne    L69
L83:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L17
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  cs nopw 0x0(%rax,%rax,1)
L86:
  lea    D15(%rip),%rdi
  call   <printf@plt>
  jmp    L95
L97:
  xor    %eax,%eax
  xor    %edx,%edx
  jmp    L104
L17:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D6
datatype: string
name: read_data
arguments: data_label: D33
datatype: string
name: read_data
arguments: data_label: D41
datatype: string
name: read_data
arguments: data_label: D11
datatype: string
name: read_data
arguments: data_label: D15
datatype: string

tool: D6: %d

tool: D33: %lld

tool: D41: %llu

tool: D11: NO


tool: D15: YES


assistant: ```c
int main() {
  int n;
  scanf("%d", &n);
  while (n--) {
    unsigned long long int number, i = 0;
    unsigned long long int sum = 0;
    scanf("%llu", &number);
    long long int array[number];
    for (i = 0; i < number; i++)
      scanf("%lld", &array[i]);
    for (i = 0; i < number; i++)
      array[i] = array[i] % number;
    for (i = 0; i < number; i++)
      sum += array[i];
    if (sum % number == 0)
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
```