// File: /workspace/github_cpp_makefile_star2_O3/muk343[P]pmml/pmml_score.cpp
// Function: main
int main()
{

	GraphGenerator graphGenerator;
	Node* rootNode = graphGenerator.getRootNode("pmmlModel.xml");	

	string line;
	while (getline(cin, line)) {
	  	std::istringstream iss(line);
	  	vector<double> input_vec;
	  	std::string token;
    	while(std::getline(iss, token, '\t')) {
        	input_vec.push_back(stod(token));
        }

        Score s(input_vec);
		
		vector<double> res = s.generateProb(rootNode);
		int size = res.size();
		cout.precision(12);
		for(int i=0; i<size-1; i++) {
			cout << res[i] << ",";
		}
		cout << res[size-1] << "\n";
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp            # imm = 0x278
leaq 0x2a86(%rip), %rsi      # 0xe032
leaq 0xf(%rsp), %rdi
callq 0xa528
movq %rax, 0xa0(%rsp)
leaq 0x90(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x8a04(%rip), %r14      # 0x13fe0
leaq 0xf8(%rsp), %rbp
leaq 0xa8(%rsp), %r15
leaq 0x68(%rsp), %r12
movq 0x89d0(%rip), %r13      # 0x13fc8
movq %r13, %rbx
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x4200
movsbl %al, %edx
movq %r14, %rdi
leaq 0x80(%rsp), %rsi
callq 0x4430
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb88e
movq %rbp, %rdi
leaq 0x80(%rsp), %rsi
movl $0x8, %edx
callq 0x4400
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x20(%rsp)
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
movq %rcx, 0x50(%rsp)
movb $0x0, 0x58(%rsp)
movq %rbp, %rdi
leaq 0x48(%rsp), %rsi
movl $0x9, %edx
callq 0x4430
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb71d
movq 0x48(%rsp), %r14
callq 0x4070
movq %rax, %r13
movl (%rax), %r12d
movl $0x0, (%rax)
movq %r14, %rdi
movq %r15, %rsi
callq 0x41c0
cmpq %r14, 0xa8(%rsp)
je 0xb8c7
movl (%r13), %eax
testl %eax, %eax
je 0xb6d1
cmpl $0x22, %eax
jne 0xb6d5
jmp 0xb8d3
movl %r12d, (%r13)
movsd %xmm0, 0x30(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xb701
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
leaq 0x68(%rsp), %r12
movq %rbx, %r13
jmp 0xb66c
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0xc558
leaq 0x68(%rsp), %r12
movq %rbx, %r13
jmp 0xb66c
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0xb9ce
movq %r15, %rdi
movq %r12, %rsi
callq 0xba4e
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xb74c
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
movq 0xa0(%rsp), %rdx
callq 0xbad4
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
movq (%r13), %rdx
movq -0x18(%rdx), %rdx
movq $0xc, 0x8(%r13,%rdx)
leal -0x1(%rcx), %r14d
cmpl $0x2, %ecx
jl 0xb7ce
movl %r14d, %r12d
xorl %r13d, %r13d
movq 0x30(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x43d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x288c(%rip), %rsi      # 0xe040
callq 0x42a0
incq %r13
cmpq %r13, %r12
jne 0xb792
movq 0x30(%rsp), %rax
leaq 0x68(%rsp), %r12
movq %rbx, %r13
movslq %r14d, %rcx
movsd (%rax,%rcx,8), %xmm0
movq %r13, %rdi
callq 0x43d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x25b2(%rip), %rsi      # 0xdd9f
callq 0x42a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb809
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0xc8(%rsp), %rdi
callq 0xc068
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0xb833
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xb84f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb866
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq %rbp, %rdi
movq 0x8750(%rip), %rsi      # 0x13fc0
callq 0x4320
leaq 0x170(%rsp), %rdi
callq 0x40e0
movq 0x8757(%rip), %r14      # 0x13fe0
jmp 0xb5fb
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb8b3
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x4250
xorl %eax, %eax
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2508(%rip), %rdi      # 0xddd6
callq 0x4170
leaq 0x24fc(%rip), %rdi      # 0xddd6
callq 0x4340
jmp 0xb939
movq %rax, %rbx
jmp 0xb92a
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xb94c
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
jmp 0xb94c
jmp 0xb906
jmp 0xb910
movq %rax, %rbx
jmp 0xb9a0
jmp 0xb939
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb92a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0xa8(%rsp), %rdi
callq 0xbba2
jmp 0xb94c
movq %rax, %rbx
jmp 0xb94c
movq %rax, %rbx
cmpl $0x0, (%r13)
jne 0xb94c
movl %r12d, (%r13)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xb968
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb97f
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq 0x863a(%rip), %rsi      # 0x13fc0
leaq 0xf8(%rsp), %rdi
callq 0x4320
leaq 0x170(%rsp), %rdi
callq 0x40e0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0xb9c5
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x4250
movq %rbx, %rdi
callq 0x4410
nop