// File: /workspace/github_cpp_makefile_star2_O1/agorenst[P]trie/prefixtree.cpp
// Function: main
int main(int argc, char* argv[]) {
    string line;
    prefix_tree<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);
        }
        t.insert(int_stream.rbegin(), int_stream.rend());
    }
    cout << 
"\\documentclass{standalone}\
\\usepackage{tikz}\
\\begin{document}\
\\usetikzlibrary{graphdrawing,graphdrawing.trees}\
\\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), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq %rax, -0x40(%rbp)
movl $0x40, %edi
callq 0x2110
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0x298c(%rip), %rcx      # 0x4d00
movq %rcx, (%rax)
leaq 0x10(%rax), %rcx
movq %rax, %rdx
addq $0x18, %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x10(%rax)
movq %rdx, 0x28(%rax)
movq %rdx, 0x30(%rax)
movq $0x0, 0x38(%rax)
movq %rax, -0x38(%rbp)
movq %rcx, -0x40(%rbp)
movq 0x2c30(%rip), %rbx      # 0x4fe0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
testb $0x5, 0x20(%rbx,%rdi)
jne 0x24b8
addq %rbx, %rdi
leaq -0x90(%rbp), %r15
leaq -0x210(%rbp), %r12
leaq -0x2c(%rbp), %r13
leaq -0x60(%rbp), %r14
movl $0xa, %esi
callq 0x2100
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x21d0
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x21a0
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movq $0x0, -0x50(%rbp)
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x1f0(%rbp,%rax)
jne 0x2458
movq %r12, %rdi
movq %r13, %rsi
callq 0x20a0
movq -0x58(%rbp), %rsi
cmpq -0x50(%rbp), %rsi
je 0x244b
movl -0x2c(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x58(%rbp)
jmp 0x2412
movq %r14, %rdi
movq %r13, %rdx
callq 0x27c4
jmp 0x2412
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
movq -0x40(%rbp), %rdi
movq %rcx, -0x70(%rbp)
movq %rax, -0x68(%rbp)
leaq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x28fc
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x2487
callq 0x20f0
movq %r12, %rdi
movq 0x2b2f(%rip), %rsi      # 0x4fc0
callq 0x2150
leaq -0x198(%rbp), %rdi
callq 0x2060
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
testb $0x5, 0x20(%rbx,%rax)
je 0x23db
movq 0x2b11(%rip), %rdi      # 0x4fd0
leaq 0xb5a(%rip), %rsi       # 0x3020
movl $0x98, %edx
callq 0x2130
movq 0x2af9(%rip), %rsi      # 0x4fd0
leaq -0x40(%rbp), %rdi
callq 0x25c8
movq 0x2ae9(%rip), %rbx      # 0x4fd0
leaq 0xbcb(%rip), %rsi       # 0x30b9
movl $0x2a, %edx
movq %rbx, %rdi
callq 0x2130
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq 0x2ab7(%rip), %rdi      # 0x4fd0
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x2534
callq 0x2634
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2549
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 0x25ab
jmp 0x2568
jmp 0x256d
jmp 0x2568
movq %rax, %rbx
jmp 0x259d
movq %rax, %rbx
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x257e
callq 0x20f0
movq 0x2a3b(%rip), %rsi      # 0x4fc0
leaq -0x210(%rbp), %rdi
callq 0x2150
leaq -0x198(%rbp), %rdi
callq 0x2060
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x25ab
callq 0x2634
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x25c0
callq 0x20f0
movq %rbx, %rdi
callq 0x21c0