0094. Sikl34

Time limit : 1000 ms
Memory limit : 64 mb

Ifodani hisoblang.


$$S = \displaystyle\sum_{a=1}^{x}(2a+cos(a)) ^ 2$$

$$P = \prod_{a = 1}^{y}\frac{a + 6}{\sqrt{a^2+2}}$$

$$SP = \displaystyle\sum_{k=1}^{c}\displaystyle\sum_{y=1}^{d}\frac{k^2+y}{\sqrt{k^2+y^2}}$$


Kiruvchi ma’lumotlar: Bitta satrda $x,y,c,d$ butun sonlar ($1\le x,y,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
6.45 4.04 1.41
Input
2 2 2 2
Output
19.30 13.20 7.11