Masala #0203
Nisbat
Sizga \(N\) soni beriladi siz quyidagi formula yordamida \(X\) ning qiymatini aniqlang:
\(X = \cfrac{3*\displaystyle\sum_{i=1}^{N}{i^5}}{\displaystyle\sum_{i=1}^{N}{i^3}}\)
Kiruvchi ma'lumotlar:
Kirish faylining yagona satrida bitta butun son, \(N (1 \le N \le 10^9)\) soni kiritiladi.
Chiquvchi ma'lumotlar:
Chiqish faylida bitta butun son, \(X\) ning qiymatini chop eting!
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
1 |
3 |
2 |
2 |
11 |
3 |
5 |
59 |