// File: /workspace/github_cpp_makefile_star2_O1/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 0x2b12(%rip), %rsi      # 0xe01a
leaq 0xf(%rsp), %rdi
callq 0xa6ea
movq %rax, 0x88(%rsp)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x8aab(%rip), %rbx      # 0x13fe0
leaq 0xf8(%rsp), %rbp
leaq 0xa8(%rsp), %r15
leaq 0x90(%rsp), %r12
movq %r12, %r14
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4200
movsbl %al, %edx
movq %rbx, %rdi
leaq 0x68(%rsp), %rsi
callq 0x4430
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb7de
movq %rbp, %rdi
leaq 0x68(%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 0xb662
movq 0x48(%rsp), %rbx
callq 0x4070
movq %rax, %r13
movl (%rax), %r12d
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x41c0
cmpq %rbx, 0xa8(%rsp)
je 0xb80e
movl (%r13), %eax
testl %eax, %eax
je 0xb620
cmpl $0x22, %eax
jne 0xb624
jmp 0xb81a
movl %r12d, (%r13)
movsd %xmm0, 0x30(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xb64b
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
movq %r14, %r12
jmp 0xb5bb
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0xc496
movq %r14, %r12
jmp 0xb5bb
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0xb912
movq %r15, %rdi
movq %r12, %rsi
callq 0xb992
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xb697
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
movq 0x88(%rsp), %rdx
callq 0xba18
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
shrq $0x3, %rax
movq 0x8907(%rip), %rdx      # 0x13fc8
movq (%rdx), %rcx
movq -0x18(%rcx), %rcx
movq $0xc, 0x8(%rdx,%rcx)
leal -0x1(%rax), %ebx
cmpl $0x2, %eax
jl 0xb712
movl %ebx, %r12d
xorl %r13d, %r13d
movq 0x30(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq 0x88d7(%rip), %rdi      # 0x13fc8
callq 0x43d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2923(%rip), %rsi      # 0xe028
callq 0x42a0
incq %r13
cmpq %r13, %r12
jne 0xb6df
movslq %ebx, %rax
movq 0x30(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm0
movq 0x88a2(%rip), %rdi      # 0x13fc8
callq 0x43d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2650(%rip), %rsi      # 0xdd8a
callq 0x42a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb756
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0xc8(%rsp), %rdi
callq 0xbfac
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
movq %r14, %r12
je 0xb783
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xb79f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb7b6
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq %rbp, %rdi
movq 0x8800(%rip), %rsi      # 0x13fc0
callq 0x4320
leaq 0x170(%rsp), %rdi
callq 0x40e0
movq 0x8807(%rip), %rbx      # 0x13fe0
jmp 0xb550
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xb7fa
movq 0x78(%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 0x25ac(%rip), %rdi      # 0xddc1
callq 0x4170
leaq 0x25a0(%rip), %rdi      # 0xddc1
callq 0x4340
jmp 0xb886
movq %rax, %rbx
jmp 0xb877
movq %rax, %rbx
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xb899
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
jmp 0xb899
jmp 0xb853
jmp 0xb85d
movq %rax, %rbx
jmp 0xb8ed
jmp 0xb886
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xb877
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
leaq 0xa8(%rsp), %rdi
callq 0xbae6
jmp 0xb899
movq %rax, %rbx
jmp 0xb899
movq %rax, %rbx
cmpl $0x0, (%r13)
jne 0xb899
movl %r12d, (%r13)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xb8b5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xb8cc
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq 0x86ed(%rip), %rsi      # 0x13fc0
leaq 0xf8(%rsp), %rdi
callq 0x4320
leaq 0x170(%rsp), %rdi
callq 0x40e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xb909
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4250
movq %rbx, %rdi
callq 0x4410
nop