// File: establishment[P]sandman/src/bin.cpp
// Function: LevenshteinDistance(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int LevenshteinDistance(const string& a, const string& b) {
    vector<vector<int>> d(a.size() + 1, vector<int>(b.size() + 1, 0));
    for (int i = 1; i <= (int)a.size(); i += 1) {
        d[i][0] = i;
    }

    for (int i = 1; i <= (int)b.size(); i += 1) {
        d[0][i] = i;
    }

    for (int i = 1; i <= (int)a.size(); i += 1) {
        for (int j = 1; j <= (int)b.size(); j += 1) {
            d[i][j] = min({d[i - 1][j] + 1, d[i][j - 1] + 1, d[i - 1][j - 1] + (a[i - 1] == b[j - 1] ? 0 : 1)});
        }
    }

    return d[a.size()][b.size()];
}

// Assembly:
subq $0xe8, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq 0xe0(%rsp), %rdi
callq 0x8c3f0
incq %rax
movq %rax, 0x48(%rsp)
movq 0xd8(%rsp), %rdi
callq 0x8c3f0
incq %rax
movq %rax, 0x50(%rsp)
movl $0x0, 0xa4(%rsp)
leaq 0xa3(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0xa3a00
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rcx
leaq 0xa8(%rsp), %rdi
leaq 0xa4(%rsp), %rdx
callq 0xa3a10
jmp 0x96d3f
leaq 0x93(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0xa3a90
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rcx
leaq 0xc0(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0xa3aa0
jmp 0x96d72
leaq 0x93(%rsp), %rdi
callq 0xa3b20
leaq 0xa8(%rsp), %rdi
callq 0xa3b30
leaq 0xa3(%rsp), %rdi
callq 0xa3b90
movl $0x1, 0x8c(%rsp)
movl 0x8c(%rsp), %eax
movl %eax, 0x3c(%rsp)
movq 0xe0(%rsp), %rdi
callq 0x8c3f0
movq %rax, %rcx
movl 0x3c(%rsp), %eax
cmpl %ecx, %eax
jg 0x96e66
movl 0x8c(%rsp), %eax
movl %eax, 0x38(%rsp)
movslq 0x8c(%rsp), %rsi
leaq 0xc0(%rsp), %rdi
callq 0xa3ba0
movq %rax, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xa3bc0
movl 0x38(%rsp), %ecx
movl %ecx, (%rax)
movl 0x8c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8c(%rsp)
jmp 0x96da4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
jmp 0x96e54
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
leaq 0x93(%rsp), %rdi
callq 0xa3b20
leaq 0xa8(%rsp), %rdi
callq 0xa3b30
leaq 0xa3(%rsp), %rdi
callq 0xa3b90
jmp 0x97123
movl $0x1, 0x88(%rsp)
movl 0x88(%rsp), %eax
movl %eax, 0x34(%rsp)
movq 0xd8(%rsp), %rdi
callq 0x8c3f0
movq %rax, %rcx
movl 0x34(%rsp), %eax
cmpl %ecx, %eax
jg 0x96ed9
movl 0x88(%rsp), %eax
movl %eax, 0x30(%rsp)
leaq 0xc0(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xa3ba0
movq %rax, %rdi
movslq 0x88(%rsp), %rsi
callq 0xa3bc0
movl 0x30(%rsp), %ecx
movl %ecx, (%rax)
movl 0x88(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x88(%rsp)
jmp 0x96e71
movl $0x1, 0x84(%rsp)
movl 0x84(%rsp), %eax
movl %eax, 0x2c(%rsp)
movq 0xe0(%rsp), %rdi
callq 0x8c3f0
movq %rax, %rcx
movl 0x2c(%rsp), %eax
cmpl %ecx, %eax
jg 0x970ca
movl $0x1, 0x80(%rsp)
movl 0x80(%rsp), %eax
movl %eax, 0x28(%rsp)
movq 0xd8(%rsp), %rdi
callq 0x8c3f0
movq %rax, %rcx
movl 0x28(%rsp), %eax
cmpl %ecx, %eax
jg 0x970b2
movl 0x84(%rsp), %eax
decl %eax
movslq %eax, %rsi
leaq 0xc0(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xa3ba0
movq %rax, %rdi
movslq 0x80(%rsp), %rsi
callq 0xa3bc0
movq 0x10(%rsp), %rdi
movl (%rax), %eax
incl %eax
movl %eax, 0x64(%rsp)
movslq 0x84(%rsp), %rsi
callq 0xa3ba0
movq %rax, %rdi
movl 0x80(%rsp), %eax
decl %eax
movslq %eax, %rsi
callq 0xa3bc0
movq 0x10(%rsp), %rdi
movl (%rax), %eax
incl %eax
movl %eax, 0x68(%rsp)
movl 0x84(%rsp), %eax
decl %eax
movslq %eax, %rsi
callq 0xa3ba0
movq %rax, %rdi
movl 0x80(%rsp), %eax
decl %eax
movslq %eax, %rsi
callq 0xa3bc0
movl (%rax), %eax
movl %eax, 0x20(%rsp)
movq 0xe0(%rsp), %rdi
movl 0x84(%rsp), %eax
decl %eax
movslq %eax, %rsi
callq 0x8c650
movsbl (%rax), %eax
movl %eax, 0x1c(%rsp)
movq 0xd8(%rsp), %rdi
movl 0x80(%rsp), %eax
decl %eax
movslq %eax, %rsi
callq 0x8c650
movl 0x1c(%rsp), %ecx
movq %rax, %rdx
movl 0x20(%rsp), %eax
movsbl (%rdx), %edx
subl %edx, %ecx
setne %cl
movzbl %cl, %ecx
addl %ecx, %eax
movl %eax, 0x6c(%rsp)
leaq 0x64(%rsp), %rax
movq %rax, 0x70(%rsp)
movq $0x3, 0x78(%rsp)
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rsi
callq 0xa3be0
movl %eax, 0x24(%rsp)
jmp 0x9704e
movslq 0x84(%rsp), %rsi
leaq 0xc0(%rsp), %rdi
callq 0xa3ba0
movq %rax, %rdi
movslq 0x80(%rsp), %rsi
callq 0xa3bc0
movl 0x24(%rsp), %ecx
movl %ecx, (%rax)
movl 0x80(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x80(%rsp)
jmp 0x96f16
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x98(%rsp)
movl %eax, 0x94(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0xa3c20
jmp 0x97123
jmp 0x970b4
movl 0x84(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x84(%rsp)
jmp 0x96ee4
movq 0xe0(%rsp), %rdi
callq 0x8c3f0
movq %rax, %rsi
leaq 0xc0(%rsp), %rdi
callq 0xa3ba0
movq %rax, (%rsp)
movq 0xd8(%rsp), %rdi
callq 0x8c3f0
movq (%rsp), %rdi
movq %rax, %rsi
callq 0xa3bc0
movl (%rax), %eax
movl %eax, 0xc(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0xa3c20
movl 0xc(%rsp), %eax
addq $0xe8, %rsp
retq
movq 0x98(%rsp), %rdi
callq 0x8ca40