// File: /workspace/github_cpp_makefile_star2_O3/agorenst[P]trie/radixtree.cpp
// Function: main
int main(int argc, char* argv[]) {
    string line;
    radixtree<int> t;
    while (cin) {
        getline(cin, line);
        istringstream int_parser(line);
        int x;
        vector<int> int_stream;
        while (!int_parser.eof()) {
            int_parser >> x;
            int_stream.push_back(x);
        }
        if (!cin.eof()) {
            t.insert(int_stream.rbegin(), int_stream.rend());
        }
    }
    cout <<
"\\documentclass{standalone}\
\\usepackage{tikz}\
\\usetikzlibrary{graphdrawing,graphdrawing.trees}\
\\begin{document}\
\\begin{tikzpicture}\\begin{scope}[tree layout]";
    t.tikz_print(cout);
cout << "\\end{scope}\
\\end{tikzpicture}\
\\end{document}";
    cout << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl $0x18, %edi
callq 0x2110
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
leaq -0x58(%rbp), %rdi
movq %rax, -0x8(%rdi)
movq %rax, %rsi
callq 0x2674
movq 0x3c6d(%rip), %r14      # 0x5fe0
movq (%r14), %rax
movq -0x18(%rax), %rdi
testb $0x5, 0x20(%r14,%rdi)
jne 0x24a6
addq %r14, %rdi
leaq -0x90(%rbp), %r15
leaq -0x210(%rbp), %r12
leaq -0x2c(%rbp), %r13
leaq -0x50(%rbp), %rbx
movl $0xa, %esi
callq 0x2100
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x21c0
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x2190
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x1f0(%rbp,%rax)
jne 0x2435
movq %r12, %rdi
movq %r13, %rsi
callq 0x20a0
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x240f
movl -0x2c(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x241a
movq %rbx, %rdi
movq %r13, %rdx
callq 0x27e4
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x1f0(%rbp,%rax)
je 0x23eb
movq -0x50(%rbp), %rdi
jmp 0x2437
xorl %edi, %edi
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%r14,%rax)
jne 0x246a
movq -0x48(%rbp), %rcx
movq -0x60(%rbp), %rax
movq %rcx, -0x70(%rbp)
movq %rdi, -0x68(%rbp)
movq %rax, %rdi
leaq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x291c
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x2474
callq 0x20f0
movq %r12, %rdi
movq 0x3b42(%rip), %rsi      # 0x5fc0
callq 0x2130
leaq -0x198(%rbp), %rdi
callq 0x2060
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
testb $0x5, 0x20(%r14,%rax)
je 0x239f
movq 0x3b23(%rip), %rdi      # 0x5fd0
leaq 0x1b6c(%rip), %rsi      # 0x4020
movl $0x98, %edx
callq 0x2120
movq 0x3b0b(%rip), %rsi      # 0x5fd0
leaq -0x60(%rbp), %rdi
callq 0x25b6
movq 0x3afb(%rip), %rbx      # 0x5fd0
leaq 0x1bdd(%rip), %rsi      # 0x40b9
movl $0x2a, %edx
movq %rbx, %rdi
callq 0x2120
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq 0x3ac9(%rip), %rdi      # 0x5fd0
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2522
callq 0x25fa
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2537
callq 0x20f0
xorl %eax, %eax
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2599
jmp 0x255b
jmp 0x2556
jmp 0x2556
movq %rax, %rbx
jmp 0x258b
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x256c
callq 0x20f0
movq 0x3a4d(%rip), %rsi      # 0x5fc0
leaq -0x210(%rbp), %rdi
callq 0x2130
leaq -0x198(%rbp), %rdi
callq 0x2060
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2599
callq 0x25fa
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x25ae
callq 0x20f0
movq %rbx, %rdi
callq 0x21b0