/home/toolbox/public_html/solutions/104/10491/a.txt
1 cows cars revealed
2
3 2 1 1
4 5 3 2
5 2000 2700 900
6
7 (2 + 1) 1 - 1/3
8 i
9
10
11 (number of choices [cars or cows]) * (cars left) / (cars left + cows left)
12
13 car choose cow choice cows + cars
14 ((3 * 2) / (3 + 2) + (5 * 3)/ (3 + 2) / (5 + 3)
15 (6/5 + 15/5) / 8
16 (21/5) / 8
17 21/40
18 0.525
19
20 car choose cow choice cows + cars
21 ((2700 * 2699) / (2699 + 1100) + (2000 * 2700) / (1099 + 2700) / (2000 + 2700)
22 ((7287300/3799) + (5400000/3799))/4700
23 (1918.21532 + 1421.42669)/4700
24 3339.64201/4700
25 .71056
26
27 Sample Output
28 0.66667
29 0.52500
30 0.71056