0091. Sikl31

Time limit : 1000 ms
Memory limit : 64 mb

Ifodani hisoblang.


$$S = \displaystyle\sum_{m=1}^{a}\frac{3m^3+4m+5}{m^3+ln(m)}$$

$$P = \prod_{k = 1}^{b}\frac{k}{k^3+7k+5}$$

$$SP = \displaystyle\sum_{i=1}^{c}\prod_{m = 1}^{d}\frac{ln(i) + m ^ i}{m ^ i}$$


Kiruvchi ma’lumotlar: Bitta satrda $a,b,c,d$ butun sonlar ($1\le a,b,c,d \le 10$);


Chiquvchi ma’lumotlar: Bitta satrda probel bilan ajratilgan xolda $S,P,SP$ – masala yechimlari. javoblar $10^{-2}$ aniqlikda chiqarilsin.

Input
1 1 1 1
Output

12.00 0.08 1.00
Input
2 1 2 2
Output
16.26 0.08 2.99