user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D11(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rsi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0xc(%rsp)
  test   %eax,%eax
  je     L27
  lea    0x40(%rsp),%rbx
  lea    D10(%rip),%rbp
  lea    0x10(%rsp),%r14
  lea    D3(%rip),%r13
  lea    D6(%rip),%r15
  lea    0x41(%rsp),%r12
L11:
  pxor   %xmm0,%xmm0
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %rbx,%rsi
  movq   $0x0,0x30(%rsp)
  movaps %xmm0,0x10(%rsp)
  movaps %xmm0,0x20(%rsp)
  call   <scanf@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L36
  lea    -0x1(%rax),%esi
  mov    %rbx,%rcx
  add    %r12,%rsi
  nopl   0x0(%rax)
L10:
  movsbl (%rcx),%edx
  add    $0x1,%rcx
  sub    $0x30,%edx
  movslq %edx,%rdx
  addl   $0x1,0x10(%rsp,%rdx,4)
  cmp    %rcx,%rsi
  jne    L10
  cmp    $0x1,%eax
  je     L113
L36:
  cmp    $0x2,%eax
  je     L24
  mov    %r14,%rdi
  call   <isMultipleOfEight@plt>
  test   %rax,%rax
  jne    L18
L44:
  mov    %r15,%rdi
  call   <printf@plt>
L65:
  mov    0xc(%rsp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0xc(%rsp)
  test   %eax,%eax
  jne    L11
L27:
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L87
  add    $0xc8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L24:
  mov    %rbx,%rdi
  call   <atoi@plt>
  test   $0x7,%al
  je     L18
  movslq %eax,%rdx
  mov    %eax,%ecx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%ecx
  sar    $0x22,%rdx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,4),%ecx
  add    %ecx,%ecx
  sub    %ecx,%eax
  lea    (%rdx,%rax,2),%eax
  test   $0x7,%al
  jne    L44
L18:
  mov    %r13,%rdi
  call   <printf@plt>
  jmp    L65
  nopl   0x0(%rax)
L113:
  mov    %rbx,%rdi
  call   <atoi@plt>
  test   $0x7,%al
  jne    L44
  mov    %r13,%rdi
  call   <printf@plt>
  jmp    L65
L87:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D11
type: string
name: unpack_data
arguments: label: D10
type: string
name: unpack_data
arguments: label: D3
type: string
name: unpack_data
arguments: label: D6
type: string

tool: D11: %d

tool: D10: %s

tool: D3: YES


tool: D6: NO


assistant: ```c
int main() {
  int n, t;
  scanf("%d", &t);
  while (t--) {
    int arr[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
    char str[111];
    scanf("%s", str);
    int len = strlen(str);
    for (int i = 0; i < len; i++) {
      arr[str[i] - '0']++;
    }
    if (len == 1) {
      int num = atoi(str);
      if (num % 8) {
        printf("NO\n");
      } else {
        printf("YES\n");
      }
    } else if (len == 2) {
      int num = atoi(str);
      int x = num % 10;
      int y = num / 10;
      if (num % 8 == 0 || (x * 10 + y) % 8 == 0) {
        printf("YES\n");
      } else {
        printf("NO\n");
      }
    } else {
      if (isMultipleOfEight(arr)) {
        printf("YES\n");
      } else {
        printf("NO\n");
      }
    }
  }
  return 0;
}
```