Expanding Fractions

Problem Number: 
275
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
Critical Input: 
Random Input: 
1 3 231 369 337 727 105 440 546 709 181 932 188 566 59 590 38 722 171 342 109 739 38 114 489 526 320 601 145 818 612 899 2 594 1 728 20 380 614 838 945 946 0 0
Problem Id: 
275