Masala #0779
2/8 ketma - ketlik
\(1,5,3,25,20,18, \dots\)
Ketma - ketlikning \(n\) - hadini toping
Kiruvchi ma'lumotlar:
\(n ( 0 < n < 10^5)\) son kiritiladi
Chiquvchi ma'lumotlar:
Masala javobini chop eting.
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
10 |
84 |
2 |
8 |
100 |