// File: /workspace/github_cpp_makefile_star2_O1/TsukiGva2[P]Blade-lang/blade.cpp
// Function: div(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>)
std::string div(std::vector<std::string> nums){
	double acc = 1;
	if (std::regex_match(nums[0], is_number)) {
		acc = std::stof(nums[0]);
	}
	std::vector<std::string> numsbf(nums.begin()+1, nums.end());
	for (std::string i : numsbf) {
		if (std::regex_match(i, is_number)) {
			if (std::stof(i) != 0){
				acc /= std::stof(i);
			}
			else {
				return "can't divide by 0";
			}
		}
	}
	// solution
	// [/ 6 3 1]
	// (6 / 3) / 1
	return std::to_string(acc);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
movq (%rsi), %rax
movq (%rax), %rdi
movq 0x8(%rax), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
leaq -0x60(%rbp), %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x1061f7(%rip), %rcx    # 0x11f9b8
xorl %r8d, %r8d
callq 0x28191
movl %eax, %r15d
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x197e1
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x2b980
testb %r15b, %r15b
je 0x1982d
movq (%r14), %rax
movq (%rax), %r12
callq 0x154c0
movq %rax, %r15
movl (%rax), %ebx
movl $0x0, (%rax)
leaq -0x60(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x153c0
cmpq %r12, (%r13)
je 0x19a80
movl (%r15), %eax
testl %eax, %eax
je 0x19837
cmpl $0x22, %eax
jne 0x1983a
leaq 0xc0acc(%rip), %rdi     # 0xda2f4
callq 0x17312
movsd 0xc07d3(%rip), %xmm0    # 0xda008
jmp 0x1983e
movl %ebx, (%r15)
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0x38(%rbp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq $0x20, %rsi
leaq -0xa8(%rbp), %rdi
leaq -0x60(%rbp), %rcx
callq 0x1b810
movq -0xa8(%rbp), %r14
movq -0xa0(%rbp), %r12
cmpq %r12, %r14
sete %r15b
je 0x19a05
leaq -0x70(%rbp), %rbx
movq -0x30(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x90(%rbp)
movq %r12, -0x88(%rbp)
movq %rbx, -0x80(%rbp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0x1bc32
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
addq %rdi, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
leaq -0x60(%rbp), %rdx
leaq 0x1060ed(%rip), %rcx    # 0x11f9b8
xorl %r8d, %r8d
callq 0x28191
movl %eax, %r13d
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x198eb
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x2b980
testb %r13b, %r13b
je 0x199d7
movl %r15d, %r12d
movq -0x80(%rbp), %rbx
callq 0x154c0
movq %rax, %r13
movl (%rax), %r15d
movl $0x0, (%rax)
movq %rbx, %rdi
leaq -0x60(%rbp), %rsi
callq 0x153c0
cmpq %rbx, -0x60(%rbp)
je 0x19a50
movl (%r13), %eax
testl %eax, %eax
je 0x19938
cmpl $0x22, %eax
leaq -0x70(%rbp), %rbx
jne 0x19940
jmp 0x19a68
movl %r15d, (%r13)
leaq -0x70(%rbp), %rbx
ucomiss 0xc06c9(%rip), %xmm0    # 0xda010
jne 0x1994b
jnp 0x19987
movq -0x80(%rbp), %rbx
movl (%r13), %r15d
movl $0x0, (%r13)
movq %rbx, %rdi
leaq -0x60(%rbp), %rsi
callq 0x153c0
cmpq %rbx, -0x60(%rbp)
je 0x19a5c
movl (%r13), %eax
testl %eax, %eax
leaq -0x70(%rbp), %rbx
je 0x199b7
cmpl $0x22, %eax
jne 0x199bb
jmp 0x19a74
movq -0x30(%rbp), %rdi
movq -0x90(%rbp), %rax
movq %rax, (%rdi)
leaq 0xc0816(%rip), %rsi     # 0xda1b2
leaq 0xc0820(%rip), %rdx     # 0xda1c3
callq 0x1bccc
xorl %r13d, %r13d
movl %r12d, %r15d
movq -0x88(%rbp), %r12
jmp 0x199da
movl %r15d, (%r13)
cvtss2sd %xmm0, %xmm0
movsd -0x38(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, -0x38(%rbp)
movl %r12d, %r15d
movq -0x88(%rbp), %r12
movb $0x1, %r13b
movq -0x80(%rbp), %rdi
cmpq %rbx, %rdi
je 0x199ef
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2b980
testb %r13b, %r13b
je 0x19a05
addq $0x20, %r14
cmpq %r12, %r14
sete %r15b
jne 0x19893
testb $0x1, %r15b
je 0x19a2e
movq 0x105356(%rip), %rsi    # 0x11ed68
leaq 0xc08e0(%rip), %rcx     # 0xda2f9
movl $0x148, %edx            # imm = 0x148
movq -0x30(%rbp), %rdi
movsd -0x38(%rbp), %xmm0
movb $0x1, %al
callq 0x1bb81
leaq -0xa8(%rbp), %rdi
callq 0x1b252
movq -0x30(%rbp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc089d(%rip), %rdi     # 0xda2f4
callq 0x17262
leaq 0xc0891(%rip), %rdi     # 0xda2f4
callq 0x17262
leaq 0xc0885(%rip), %rdi     # 0xda2f4
callq 0x17312
leaq 0xc0879(%rip), %rdi     # 0xda2f4
callq 0x17312
leaq 0xc086d(%rip), %rdi     # 0xda2f4
callq 0x17262
jmp 0x19ad2
movq %rax, %r14
cmpl $0x0, (%r15)
jne 0x19b14
movl %ebx, (%r15)
jmp 0x19b14
movq %rax, %r14
jmp 0x19b14
movq %rax, %r14
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x19b14
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x2b980
jmp 0x19b14
movq %rax, %r14
jmp 0x19aef
jmp 0x19ac2
movq %rax, %r14
cmpl $0x0, (%r13)
jne 0x19aef
movl %r15d, (%r13)
jmp 0x19aef
movq %rax, %r14
jmp 0x19b08
movq %rax, %r14
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x19aef
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x2b980
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x19b08
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2b980
leaq -0xa8(%rbp), %rdi
callq 0x1b252
movq %r14, %rdi
callq 0xd6fc0