AtCoder Beginner Contest 108
A
Pair
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

Find the number of ways to choose a pair of an even number and an odd number from the positive integers between $1$ and $K$ (inclusive). The order does not matter.

翻译中…

Constraints

翻译中…
  • $2\leq K\leq 100$
  • $K$ is an integer.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

K

翻译中…

Output

翻译中…

Print the number of ways to choose a pair of an even number and an odd number from the positive integers between $1$ and $K$ (inclusive).

翻译中…

样例

Input #1
3
Output #1
2
Two pairs can be chosen: $(2,1)$ and $(2,3)$.
Input #2
6
Output #2
9
Input #3
11
Output #3
30
Input #4
50
Output #4
625
题目信息
题号
abc108_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。