H. Giá trị ở vị trí thứ k - 3


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 256M

Problem type

Cho dãy số: 3, 18, 48, 93, 153, ...
Nhập vào số k, in ra giá trị ở vị trí thứ k

input

2

output

18

input

5

output

153


Comments

There are no comments at the moment.