E002


Submit solution

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

Problem type

Cho số nguyên dương \(n\). In ra tổng các số lẻ của \(n\) số tự nhiên đầu tiên.

Input:

  • Một dòng chứa số nguyên \(n (n≤10^5 ).\)

Output:

  • In tổng lẻ tìm được.

Sample Input

6

Sample Output

9

Comments

There are no comments at the moment.