Loan (II)

Problem Number: 
873
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
9 10000 7 24 2000 6 12 3000 5 12 15000 4 36 17000 8 24 25000 4 36 45000 5 48 27000 6 24 20000 7 36
Problem Id: 
873