Problem:


Score : 100 points

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).

Sample Input 1

3

Sample Output 1

2

Two pairs can be chosen: (2,1) and (2,3).

Sample Input 2

6

Sample Output 2

9

Sample Input 3

11

Sample Output 3

30

Sample Input 4

50

Sample Output 4

625



Sample input:
3


Sample output:
2

Submission status: Accepted

Solution code:
K = int(input())
n = K // 2
m = K % 2
if m:
    output = n * (n + 1)
else:
    output = n * n
print(output)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 1:
  print(int((K // 2) * ((K // 2) + 1)))
else:
  print(int((K/2)*(K/2)))

Submission status: Accepted

Solution code:
data = int(input())

if data%2 == 0:  
    ans = int(data/2) *int(data/2)
else:
    ans = int((data-1)/2) *int((data+1)/2)
print(ans)

Submission status: Accepted

Solution code:
K=int(input())
if K%2==0:
    m=(K/2)**2
else:
    m=((K-1)/2)*(((K-1)/2)+1)
n=int(m)
print(n)

Submission status: Accepted

Solution code:
K=input()
print (K/2)**2 if K%2==0 else (K/2)*(K/2+1)

Submission status: Accepted

Solution code:
k = int(input())

print(k//2 * -(-k//2))

Submission status: Accepted

Solution code:
k = int(input())
if k%2 == 0:
    print(int((k/2)**2))
else:
    l = (k-1)/2
    print(int(l*(k-l)))

Submission status: Accepted

Solution code:
k = int(input())
even = 0
odd = 0
if k % 2 == 0:
    even = k // 2
    odd = k // 2
else:
    even = k // 2
    odd = k // 2 + 1
print(even * odd)

Submission status: Accepted

Solution code:
k = int(input())

if k % 2 == 0:
    print(int(k**2/4))

if k % 2 != 0:
    k2 = (k+1)/2
    print(int(k2*(k2-1)))

Submission status: Accepted

Solution code:
# vim: set fileencoding=utf-8:


def main():
    K = input()
    even = K / 2
    if K % 2 == 0:
        odd = even
    else:
        odd = even + 1

    print(odd * even)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
K = int(input())
if K % 2 == 0:
    print((K // 2) ** 2)
else:
    print((K // 2) * ((K // 2) + 1))

Submission status: Accepted

Solution code:
a=int(input())

if a%2==0:
    print(int((a/2)**2))
else:
    print(int(int(a/2)*(int(a/2)+1)))

Submission status: Accepted

Solution code:
a=int(input())
if a%2:
	print(int(a//2*(a//2+1)))
else:
	print(int((a/2)**2))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
K = int(input())

gusu = K // 2
kisu = K - gusu

print(kisu * gusu)

Submission status: Accepted

Solution code:
i = int(input())
if i%2==0:
    answer= int(i*i/4)
else:
    answer=i//2*(i//2+1)
print(answer)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Sep  1 18:55:58 2018
ABC108A
@author: maezawa
"""

k = int(input())

if k%2 == 0:
    print((k//2)**2)
else:
    print((k//2)*(k//2+1))

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
    print((K // 2) * (K // 2))
else:
    print((K // 2) * (1 + K // 2))

Submission status: Accepted

Solution code:
p = int(input())
if p%2 == 0:
    print(int((p/2)**2))
else:
    print(int((p/2-1/2)*(p/2+1/2)))

Submission status: Accepted

Solution code:
n = int(input())
n1 = int(n/2)
n2 = n-n1
print(n1*n2)

Submission status: Accepted

Solution code:
a=int(input())
if a%2==0:
    print(int((a/2)*(a/2)))
else:
    print(int(((a+1)/2-1)*((a+1)/2)))

Submission status: Accepted

Solution code:
inp = int(input())
if inp % 2 == 0:
    print(int(inp*inp/4))
else:
    print(int((inp-1)*(inp+1)/4))

Submission status: Accepted

Solution code:
K = int(input())
a = K // 2
b = a + K % 2
print(a*b)

Submission status: Accepted

Solution code:
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3

k = int(input())

if k % 2 == 0:
    print(int((k / 2) ** 2))
else:
    k2 = int(k / 2)
    print(int(k2 * (k2 + 1)))

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
    half = K//2
    ans = half**2
else:
    half = (K-1)//2
    ans = half * (half + 1)
print(ans)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
	ans = (K // 2)**2
else:
	ans = (K//2)*(K//2 +1)
print(ans)

Submission status: Accepted

Solution code:
k = int(input())

if k%2==0:
    print((int(k/2))**2)
else:
    k = (k+1)//2
    print(k*(k-1))

Submission status: Accepted

Solution code:
n = input()
n = int(n)
k = n // 2
if n % 2 == 0:
    print(k*k)
else:
    print(k*(k+1))

Submission status: Accepted

Solution code:
K = int(input())
g = K // 2
k = K - g

print(g*k)

Submission status: Accepted

Solution code:
k = int(input())
if k % 2 == 1:
    print((k // 2) * (k // 2 + 1))
else:
    print((k // 2) ** 2)

Submission status: Accepted

Solution code:
from math import ceil, floor

K = int(input())

print(ceil(K/2) * floor(K/2))

Submission status: Accepted

Solution code:
import sys

ns = lambda: sys.stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: [int(x) for x in ns().split()]
nall = lambda: [int(x) for x in sys.stdin.readlines()]

def main():
    k = ni()
    p = k // 2
    q = k - p
    print(p * q)

main()

Submission status: Accepted

Solution code:
n = int(input())
if n % 2 == 0:
    print(int((n/2)**2))
else:
    print(int((n//2)*(n//2 + 1)))

Submission status: Accepted

Solution code:
K = int(input())
if K % 2 == 0:
    print(int((K/2)*(K/2)))
else:
    print(int(((K+1)/2)*((K+1)/2-1)))

Submission status: Accepted

Solution code:
k=int(input())

a=int(k/2)
b=k-a

print(a*b)

Submission status: Accepted

Solution code:
x=int(input())
if(x%2==0):
	print(int((x/2)**2))
else:
	t=int((x+1)/2)
	print(t*(t-1))

Submission status: Accepted

Solution code:
K = int(input())
e,o = 0,0

if K%2:
    o = K//2 + 1
else:
    o = K//2
e = K//2

print(e*o)

Submission status: Accepted

Solution code:
K = int(input())

Ne = int(K/2.)
No = int((K+1)/2.)
print(Ne*No)

Submission status: Accepted

Solution code:
#coding: utf-8

k = int(raw_input())

if k%2 == 0: kisu = k>>1
else: kisu = (k>>1) +1
gusu = k>>1

print kisu * gusu

Submission status: Accepted

Solution code:
K=int(input())

if K%2==0:
    print(int((K/2)**2))
else:
    print(int((K-1)/2*((K+1)/2)))

Submission status: Accepted

Solution code:
k = int(input())
if k%2 == 0:
    print((k//2)**2)
else:
    print((k//2)*((k//2)+1))

Submission status: Accepted

Solution code:
K = int(input())
print(int(K/2)*(int(K/2)+int(K%2)))

Submission status: Accepted

Solution code:
n = int(input())

def ceil(a,b):
	if a%b == 0:
		return a/b
	else:
		return a/b + 1

if n% 2 == 0:
	print (n/2 )**2

else :
	print n/2 * ((n/2)+1)

Submission status: Accepted

Solution code:
k = int(input())
print((int(k/2)*(int(k/2)+(k%2))))

Submission status: Accepted

Solution code:
na = lambda: list(map(int, input().split()))
k = int(input())
if k % 2 == 0: print((k//2)**2)
else: print((k//2)*((k//2)+1))

Submission status: Accepted

Solution code:
k = int(input())
count = 0
for i in range(1, k+1):
    for j in range(1, k+1):
        if i % 2 == 0:
            if j % 2 == 1:
                count = count + 1
print(count)

Submission status: Accepted

Solution code:
K = int(input())
print((K // 2) ** 2 if K % 2 == 0 else ((K // 2) + 1) * (K // 2))

Submission status: Accepted

Solution code:
K = int(input())
print(int(K//2)*int((K+1)//2))

Submission status: Accepted

Solution code:
k = int(input())
j = k&1
l = k>>1
print(l*(l+j))

Submission status: Accepted

Solution code:
K = int(input())
cnt = 0

for i in range(2, K+1, 2):
    for j in range(1, K+1, 2):
        cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
k = int(input())
if k%2 == 0:
    print((k//2)*(k//2))
else:
    print((k//2+1)*(k//2))

Submission status: Accepted

Solution code:
def solve(N):
    return int(N / 2) * int((N + 1) / 2)

if __name__ == "__main__":
    l = input()
    N = int(l)
    print(solve(N))

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

n = int(input())
if n%2 == 0:
    print(int(n*n/4))
    exit()
else:
    print(int(n//2*(n//2+1)))

Submission status: Accepted

Solution code:
#
import sys
import math
import numpy as np
import itertools
# ひとつ入力
k = int(input())

print( (k//2) * ((k+1)//2) )

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    k = int(input())

    if k % 2 != 0:
        print(k // 2 * (k + 1) // 2)
    else:
        print((k // 2) ** 2)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
K=int(input())
if (K%2==0):
    print(int((K/2)**2))
else:
    print(int((K+1)/2*(K-1)/2))

Submission status: Accepted

Solution code:
k=int(input())

if k%2==1:
  nodd=int(k/2)+1
  neven=int(k/2)
else:
  nodd=int(k/2)
  neven=int(k/2)
print(nodd*neven)

Submission status: Accepted

Solution code:
k = int(input())

if k % 2 == 0:
    print((k // 2 ) ** 2)
else:
    print((k // 2) * ((k+1) // 2))

Submission status: Accepted

Solution code:
k = int(input())

if k % 2 == 0:
    print(int(k/2) ** 2)
else:
    print(int((k-1)/2) * (int((k-1)/2)+1))

Submission status: Accepted

Solution code:
k = int(input())
if k % 2 ==0:
    n = k // 2
    print(n**2)
else:
    n = k // 2
    print(n * (n+1))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
def solve():
    k = int(input())
    o = (k>>1) + (k&1)
    e = k>>1
    return str(o*e)

if __name__ == '__main__':
    print(solve())

Submission status: Accepted

Solution code:
K = int(input())

a = K // 2

b = K - a

print(a * b)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
	out = int((K/2)**2)
	print(out)
else:
	out = int((K-1)*(K+1)/4)
	print(out)

Submission status: Accepted

Solution code:
k = int(input())
count = 0
for i in range(k):
    for j in range(i+1, k):
        if (i % 2 == 0 and j % 2 == 1) or (i % 2 == 1 and j % 2 == 0):
            count +=1
print(count)

Submission status: Accepted

Solution code:
a = int(input())
print(a//2*(a-a//2))

Submission status: Accepted

Solution code:
K = int(input())
if K % 2 != 0 :
    print(K//2*(K//2+1))
else :
    print((K//2)**2)

Submission status: Accepted

Solution code:
K = int(input())
odd = 0
even = 0
for i in range(1, K + 1):
	if i % 2 == 0:
		even += 1
	else:
	 odd += 1
print(odd * even)

Submission status: Accepted

Solution code:
a = int(input())
if a%2 == 0:
    print((a//2) ** 2)
else:
    b = a//2
    print(b*(b+1))

Submission status: Accepted

Solution code:
K=int(input())
if K%2==0:
    print(int(K/2)**2)
else:
    print(int((K+1)/2)*int((K-1)/2))

Submission status: Accepted

Solution code:
N = int(input())
a =N//2
b = (N+1)//2

print(a*b)

Submission status: Accepted

Solution code:
k = int(input())

odd = (k+1)//2
even = k//2
print(odd*even)

Submission status: Accepted

Solution code:
N = int(input())
print(int((N/2)**2))

Submission status: Accepted

Solution code:
K = int(input())
print((K // 2) * (K - K // 2))

Submission status: Accepted

Solution code:
k = int(input())
t = k//2
if k % 2 == 0:
    print(t ** 2)
else:
    print(t*(t+1))

Submission status: Accepted

Solution code:

def abc108_a():
    import sys
    input = sys.stdin.readline

    k = int(input())
    if k % 2 == 0:
        return int(k ** 2 / 4)
    else:
        return int((k // 2) * (k // 2 + 1))


print(abc108_a())

Submission status: Accepted

Solution code:
K = int(input())

print((K // 2) ** 2 + (K % 2) * (K // 2))

Submission status: Accepted

Solution code:
import math
k = input()

k = int(k)

even = math.floor(k/2)
odd = even if k % 2 == 0 else even + 1

print(even * odd)

Submission status: Accepted

Solution code:
k = int(input())
if k%2:
    ans = (k//2+1)*(k//2)
else:
    ans = (k//2)**2
print(ans)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
	print((K // 2) ** 2)
else:
	print((K//2) * (K//2 + 1))

Submission status: Accepted

Solution code:
K = int(input())

gusu = K // 2
odd = K - gusu

print(gusu*odd)

Submission status: Accepted

Solution code:
k=int(input())
if k%2==0:
  print(k*k//4)
else:
  print((k*k-1)//4)

Submission status: Accepted

Solution code:
n=int(input())
if n%2==0:
    print((n//2)*(n//2))
else:
    print((n//2)*(n//2+1))

Submission status: Accepted

Solution code:
N = int(input())

if (N%2 == 0):
    print(int(N/2*N/2))
else:
    print(int((N-1)/2*(N+1)/2))

Submission status: Accepted

Solution code:
K = int(input())
l = list(range(1, K+1))
a = list(filter(lambda x: x%2, l))
b = list(filter(lambda x: not x%2, l))
print(len(a)*len(b))

Submission status: Accepted

Solution code:
K = int(input())

num = [i for i in range(1, K+1)]

kisuu = num[0::2]
guusuu = num[1::2]

ans = len(kisuu) * len(guusuu)

print(ans)

Submission status: Accepted

Solution code:
K = int(input())
a = K // 2
b = K - a
ans = a * b

print(ans)

Submission status: Accepted

Solution code:
k = int(input())

if (k % 2 == 0):
    print(int((k/2)*(k/2)))
else:
    print(int(((k//2)+1)*(k//2)))

Submission status: Accepted

Solution code:
K = int(input())
if K % 2 == 0:
    re = (K // 2) ** 2
else:
    re = (K // 2) * (K // 2 + 1)
print(re)

Submission status: Accepted

Solution code:
import math
K=int(input())

print((K//2)*(math.ceil(K/2)))

Submission status: Accepted

Solution code:
K = int(input())
odd = 0
if K%2==1:
    odd = 1
print((K//2+odd)*(K//2))

Submission status: Accepted

Solution code:
i = int(input())

print((i//2)*((i+1)//2))

Submission status: Accepted

Solution code:
K = int(input())
ans = 0
for i in range(1, K):
    for j in range(i+1, K+1):
        if i % 2 and j % 2 == 0:
            ans += 1
        elif i % 2 == 0 and j % 2:
            ans += 1
print(ans)

Submission status: Accepted

Solution code:
k=int(input())
if k%2==0:
    print(int((k/2)**2))
else:
    print(int(((k-1)/2+1)*(k-1)/2))

Submission status: Accepted

Solution code:
K = int(input())

a = K // 2

b = K // 2 + K % 2

print(a*b)

Submission status: Accepted

Solution code:
K = int(input())

g = K // 2
k = K - g

print(g * k)

Submission status: Accepted

Solution code:
K = int(input())

odd = [i for i in range(1, K+1) if i % 2 != 0]
even = [i for i in range(1, K+1) if i % 2 == 0]

print(len(odd) * len(even))

Submission status: Accepted

Solution code:
K = int(input())
if K % 2 == 0:
    print((K//2) ** 2)
else:
    print((K//2) * ((K+1)//2))

Submission status: Accepted

Solution code:
k = int(input())
a = k//2
b = k -a

ans = a * b
print(ans)

Submission status: Accepted

Solution code:
N = int(input())

if N % 2 == 0:
  print((N // 2) ** 2)
else:
  print((N // 2) * (N // 2 + 1))

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
    x = K // 2 
    y = K // 2
else:
    x = K // 2
    y = K // 2 + 1

print(x * y)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
    print((int(K / 2))**2)

else:
    kk = (K-1)/2
    print(int(kk * (kk+1)))

Submission status: Accepted

Solution code:
K=int(input())

print((K//2)*(K-K//2))

Submission status: Accepted

Solution code:
K = int(input())
o = (K + 1) // 2
e =  K      // 2
print(o * e)

Submission status: Accepted

Solution code:
K = int(input())
gusu = K // 2
kisu = K -gusu
print(gusu * kisu)

Submission status: Accepted

Solution code:
k=int(input())
a=k//2
b=k-a
print(int(a*b))

Submission status: Accepted

Solution code:
k=int(input())
print(k//2*(k//2+k%2))

Submission status: Accepted

Solution code:
K=int(input())
e=K//2
o=(K+1)//2
print(e*o)

Submission status: Accepted

Solution code:
K = int(input())

odd = K // 2 + K % 2
even = K // 2

print(odd * even)

Submission status: Accepted

Solution code:
n = int(input())
a = int(n / 2)
b = a + n%2
print(a * b)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8
#


def main(k):
    kinum = int(k/2) + k%2
    gunum = int(k/2)
    print(kinum * gunum)
    
if __name__ == '__main__':
    try:
        k = int(input().strip())
        main(k)
    except EOFError:
        pass

Submission status: Accepted

Solution code:
k = int(input())
x = k // 2
y = (k + 1) // 2
print(x * y)

Submission status: Accepted

Solution code:
K = int(input())

if K % 2 == 0:
    print((K//2)**2)
else:
    print((K//2)*(K//2 + 1))

Submission status: Accepted

Solution code:
K = int(input())
even = K//2
odd = K - even
print(even*odd)

Submission status: Accepted

Solution code:
K = int(input())

e = int((K + 1)/2)
o = int(K/2)

print(e*o)

Submission status: Accepted

Solution code:
import math
k=int(input())
p=k//2
q=math.ceil(k/2)
print(p*q)

Submission status: Accepted

Solution code:
# coding:utf-8

import math

INF = float('inf')


def inpl(): return list(map(int, input().split()))


n = int(input())

print(math.ceil(n/2) * math.floor((n/2)))

Submission status: Accepted

Solution code:
n = int(raw_input())
if n % 2 == 0:
    print (n/2)*n/2
else:
    print n/2*(n/2+1)

Submission status: Accepted

Solution code:
k = int(input())

if k%2==0:
    print((k//2)**2)
else:
    print((k//2)*(k//2+1))

Submission status: Accepted

Solution code:
import math
n = int(input())
if n % 2 == 1:
  print(math.floor(n/2) * math.ceil(n/2))
else:
  print(int(n/2) ** 2)

Submission status: Accepted

Solution code:
k = input()
even = k/2
odd = k-k/2
print even*odd

Submission status: Accepted

Solution code:
K=int(input())

a=K//2
b=K-a

print(a*b)

Submission status: Accepted

Solution code:
n = int(input())
if n%2 == 0:
    print((n//2)**2)
else:
    print((n//2)*(n//2+1))

Submission status: Accepted

Solution code:
def iin(): return int(input())
def nl(): return list(map(int, input().split()))
def ary(r, c, v): return [[v for _ in range(c)] for _ in range(r)]

k = iin()
if k % 2 == 0:
    ans = (k // 2) ** 2
else:
    ans = (k // 2) * (k // 2 + 1)
print(ans)

Submission status: Accepted

Solution code:
k = int(input())

a = k // 2
b = k // 2 + k % 2

print(a * b)

Submission status: Accepted

Solution code:
n=int(input())

even=int(n/2)
if n%2==0:
    odd=even
else:
    odd=even+1

print(odd*even)

Submission status: Accepted

Solution code:
k = int(input())
if k % 2 == 0:
  r = (k//2)*(k//2)
else:
  r = (k//2)*((k//2)+1)
print(r)

Submission status: Accepted

Solution code:
n = int(input())

if n%2 == 1:
    odd = (n + 1)/2
    even = (n - 1)/2
else:
    odd = n/2
    even = n/2
ans = odd * even
print(int(ans))

Submission status: Accepted

Solution code:
K = int(input())

x = int(K / 2)
y = K - x

print(x * y)

Submission status: Accepted

Solution code:
n = int(input())
print(n//2 * (n - n//2))

Submission status: Accepted

Solution code:
n=int(input())
a=n//2
print((n-a)*a)

Submission status: Accepted

Solution code:
k = int(input())
if k%2 ==1:
    k1 = k//2
    k2 = k1+1
    print(k1*k2)
    
else:
    print(int(k/2)**2)

Submission status: Accepted

Solution code:
k = int(input())

if k % 2 == 1:
	print((k//2)*(k//2+1))
else:
	print((k//2)**2)

Submission status: Accepted

Solution code:
# encoding: utf-8
K = int(input())
print((K // 2) * (K - (K // 2)))

Submission status: Accepted

Solution code:
k = int(input())

even = k//2;

odd = k - even;

print(odd*even)

Submission status: Accepted

Solution code:
k=int(input())

if k%2==1:
    print((k//2)*(k//2+1))
else:
    print((k//2)**2)

Submission status: Accepted

Solution code:
n = int(input())
tmp = n //2
tmp2 = n-tmp
print(tmp*tmp2)

Submission status: Accepted

Solution code:
K = int(input())
kisu = K // 2 + K % 2
gusu = K // 2
print(kisu * gusu)

Submission status: Accepted

Solution code:
K = int(input())

print(int((K//2) * (K//2 + K%2)))

Submission status: Accepted

Solution code:
k = int(input())
print((k//2*(-(-k//2))))

Submission status: Accepted

Solution code:
k=int(input())

ans=0
for i in range(k):
    for j in range(k):
        if i%2==0 and j%2==1:
            ans+=1
print(ans)

Submission status: Accepted

Solution code:
import math
k = int(input())
print((k // 2) * math.ceil(k / 2))

Submission status: Accepted

Solution code:
k=int(input())
h=int(k/2)

print((k-h)*h)

Submission status: Accepted

Solution code:
n=int(input())
x1=n//2
x2=(n+1)//2
print(x1*x2)

Submission status: Accepted

Solution code:
k = int(input())
a = 0
b = 0
for i in range(1, k+1):
    if i % 2 == 0:
        a += 1
    else:
        b += 1
print(a * b)

Submission status: Runtime Error

Solution code:
n=int(input())
if n%2==0:
    print((n//2)*(n//2+1)
else:
    print((n//2)**2)

Submission status: Runtime Error

Solution code:
def main():
    n = int(input())

    ans = 0
    for a, b in (list(combinations(range(1, n+1), 2))):
        if (a%2==0 and b%2 != 0) or (b%2==0 and a%2!=0):
            ans += 1

    print(ans)


main()

Submission status: Runtime Error

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools
from collections import deque

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

DR = [1, -1, 0, 0]
DC = [0, 0, 1, -1]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
     
def main():
    K = I()
    a == K // 2
    b = K - a
    print(a*b)

main()

Submission status: Runtime Error

Solution code:
import sys 

x1,y1,x2,y2=list(map(int,input().split()))
dx=x2-x1
dy=y2-y1
print("%d %d %d %d"%(x2-dy,y2+dx,x1-dy,y1+dx))

Submission status: Runtime Error

Solution code:
x1,y1,x2,y2=list(map(int,input().split()))
dx=x2-x1
dy=y2-y1
print(x2-dy,y2+dx,x1-dy,y1+dx)

Submission status: Runtime Error

Solution code:
a=int(input())
if a%2==0:
  ans=(a/2)**2
  return
else:
  ans=((a-1)/2)*((a+1)/2)
  return
print(ans)

Submission status: Runtime Error

Solution code:
a=int(input())
if(a%2==0):
  ans=(a/2)**2
  return ans
else:
  ans=((a-1)/2)*((a+1)/2)
  return ans
print(ans)

Submission status: Runtime Error

Solution code:
a=int(input())
if(a%2==0):
  ans=(a/2)**2
  return
else:
  ans=((a-1)/2)*((a+1)/2)
  return
print(ans)

Submission status: Runtime Error

Solution code:
a=input()
if(a%2==0):
  ans=(a/2)**2
  return
else:
  ans=((a-1)/2)*((a+1)/2)
  return
print(ans)

Submission status: Runtime Error

Solution code:
a=input()
if(a%2==0):
  print((a/2)**2)
  return
else:
  print(((a-1)/2)*((a+1)/2))

Submission status: Runtime Error

Solution code:
a=input()
a=int(a)
if a%2==0:
  print(int((a/2)**2))
else:
  print(int(a/2)*2(int(int(a/2)+1)))

Submission status: Runtime Error

Solution code:
a=input()
a=int(a)
if a%2==0:
  print(int((a/2)**2))
else:
  print(int(a/2)*2(int(a/2)+1))

Submission status: Runtime Error

Solution code:
K=int(input())
print(K//2*(K//2+k%2))

Submission status: Runtime Error

Solution code:
from sys import stdin,stdout

def main():
    line=stdin.readline()
    parts=line.split()
    a=int(parts[0])
    par=int(a/2)
    impar=int(a/2)+a%2
    stdout.write(par*impar)
main()

Submission status: Runtime Error

Solution code:
n=int(input())
print((k//2)*((k+1)//2))

Submission status: Runtime Error

Solution code:
n=int(input())
print((k//2)*(k//2+1))

Submission status: Runtime Error

Solution code:
a=int(input)
if a%2==0:
  print(a*a)
else:
  print((a-1)*a)

Submission status: Runtime Error

Solution code:
# abc108_a.py
# https://atcoder.jp/contests/abc108/tasks/abc108_a

# A - Pair /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 1以上 K以下の正の整数から、偶数と奇数ひとつずつの組を選ぶ方法の個数を求めてください。なお、選ぶ順番は考慮しません。

# 制約
#     2≤K≤100
#     Kは整数である

# 入力
# 入力は以下の形式で標準入力から与えられる。
# K

# 出力
# 1以上 K以下の正の整数から、偶数と奇数ひとつずつの組を選ぶ方法の個数を出力せよ。

# 入力例 1
# 3

# 出力例 1
# 2

# (2,1)と (2,3)が条件を満たします。

# 入力例 2
# 6

# 出力例 2
# 9

# 入力例 3
# 11

# 出力例 3
# 30

# 入力例 4
# 50

# 出力例 4
# 625


def calculation(lines):
    # N, K = list(map(int, lines[0].split()))
    N = int(lines[0])
    if N%2 == 0:
        ans = (N/2)**2
    else:
        ans = ((N+1)/2 * (N-1)/2)
    return [int(ans)]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['3']
        lines_export = [2]
    if pattern == 2:
        lines_input = ['6']
        lines_export = [9]
    if pattern == 3:
        lines_input = ['11']
        lines_export = [30]
    if pattern == 4:
        lines_input = ['50']
        lines_export = [625]
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    if len(args) == 1:
        mode = 0
    else:
        mode = int(args[1])
    return mode


# 主処理
def main():
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(2)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
K = int(input())

ev = K//2
odd = k//2 + K%2
print(ev*odd)

Submission status: Runtime Error

Solution code:
k = int(input())
if k %2 == 0:
  print(int(k*k/2/2))
elif k%2 ==1:
  print(int((k/2)*(k//2)/2)

Submission status: Runtime Error

Solution code:
k = int(input())
if k %2 == 0:
	print(int(k*k/2/2)
elif k%2 ==1:
          print(int((k/2)*(k//2)/2)

Submission status: Runtime Error

Solution code:
k = int(input())

if k %2 == 0:
  print(int(k*k/2/2)




else:
  print(int((k/2)*(k//2)/2)

Submission status: Runtime Error

Solution code:
input(a)
if a/2==0:
	i=(a+1)/2
	j=(a-1)/2
else:
	i=a/2
	j=a/2
print(i*j)

Submission status: Runtime Error

Solution code:
input(a)
if a%2==1:
	i=(a+1)/2
	j=(a-1)/2
else:
	i=a/2
	j=a/2
print(i*j)

Submission status: Runtime Error

Solution code:
input(a)
if(a%2==1):
	i=(a+1)/2
	j=(a-1)/2
else:
	i=a/2
	j=a/2
print(i*j)

Submission status: Runtime Error

Solution code:
input(a)
if(a%2==1):
	i=(a+1)/2
	j=(a-1)/2
else:
	i=a/2
	j=a/2
print(i+j)

Submission status: Runtime Error

Solution code:
input(a)
if(a%2==1)
	i=(a+1)/2
	j=(a-1)/2
else 
	i=a/2
	j=a/2
print(i+j)

Submission status: Runtime Error

Solution code:
input(a)
if(a%2==1)
 i=(a+1)/2
 j=(a-1)/2
else 
 i=a/2
 j=a/2
print(i+j)

Submission status: Runtime Error

Solution code:
k=int(input())
if n%2==0:
    print(int(n*n/4))
else:
    print(int((n-1)*(n+1)/4))

Submission status: Runtime Error

Solution code:
k=int(input())
if n%2==0:
    print(n*n/4)
else:
    print((n-1)*(n+1)/4)

Submission status: Runtime Error

Solution code:
k = int(input())
print(k//2 ** 2) if k % 2 == 0 else pritn(k//2 * (k//2 + 1))

Submission status: Runtime Error

Solution code:
N = int(input())

if N% == 0:
  print((N//2)**2)
else:
  print(((N+1)//2)*((N-1)//2))

Submission status: Runtime Error

Solution code:
import math
def li():
    return list(map(int, input().split()))
def mi():
    return map(int, input().split())
def ii():
    return int(input())

x1, y1, x2, y2 = mi()

l = 0
# x = Cの場合
if (x2 - x1) == 0:
    l = y2 - y1
    if y2 > y1:
        x3 = x1 - l
    else:
        x3 = x1 + l
    y3 = y2
    x4 = x3
    y4 = y1
# y = Cの場合
elif (y2 - y1) == 0:
    l = x2 - x1
    x3 = x2
    if x2 > x1:
        y3 = y2 - l
    else:
        y3 = y2 + l
    x4 = x1
    y4 = y3
# y = ax + bの場合
else:
    x3 = x2 - (y2 - y1)
    y3 = y2 + (x2 - x1)
    x4 = x1 - (y2 - y1)
    y4 = y1 + (x2 - x1)

print(x3, y3, x4, y4)

Submission status: Runtime Error

Solution code:
K=input()
if K % 2 ==0:
  print(int(K*K/2/2))
else:
  print(int((K+1)*(K-1)/2/2))

Submission status: Runtime Error

Solution code:
n = int(input())
s = n//2
k = s-k
print(s*k)

Submission status: Runtime Error

Solution code:
import math
k=int(input())
print((k//2)*(math.celi(k//2)))

Submission status: Runtime Error

Solution code:
K = int(input())

odd = [0 for i in range(1, K + 1) if i % 2 == 1]
even = [0 for i in range(1, K + 1) if i % 2 == 0]

print(len(odd) * len(event))

Submission status: Runtime Error

Solution code:
k=int(input())
print(int(n/2))k=int(input())
if n%2==0:
  print(int((n/2)*(n/2)))
else:
  print(int(n/2)*(int(n/2)+1))

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
if (a*b)%2==0:
    print('No')
else:
    print('Yes')

Submission status: Runtime Error

Solution code:
print(int(input()**2>>2)

Submission status: Runtime Error

Solution code:
k = int(input())
odd = 0
for i in range(1, k+1):
  if i%2==0*
  odd += 1
even = k - odd
print(even * odd)

Submission status: Runtime Error

Solution code:
n=int(input())
if n % 2 == 0:
  temp = int(n/2)
  print(temp ** 2)
elif:
  temp = n//2
  print(temp*(temp+1))

Submission status: Runtime Error

Solution code:
N = int(input())

if N % 2 == 0:
  print(int((N/2)**2))
  
else:
  print(int((N // 2)((N // 2) + 1)))

Submission status: Runtime Error

Solution code:
N = int(input())

if N % 2 == 0:
  print((N/2)**2)
  
else:
  print((N // 2)((N // 2) + 1))

Submission status: Runtime Error

Solution code:
N = int(input())

if N % 2 == 0:
  print((N/2)**2)
  
else:
  print( (N // 2)(N // 2 + 1)

Submission status: Runtime Error

Solution code:
x1,y1,x2,y2=map(int,input().split())
print(x2-(y2-y1),y2-(x1-x2),x1-(y2-y1),y1-(x1-x2),end='')

Submission status: Runtime Error

Solution code:
K = input()

print(K//2*(K-K//2))

Submission status: Runtime Error

Solution code:
k = input()

if k%2 ==0:
    print((k/2)*(k/2))
else:
    print(((k-1)/2)*((k+1)/2))

Submission status: Runtime Error

Solution code:
k = input()

if k%2 ==0:
    print((k/2)**2)
else:
    print(((k-1)/2)*((k+1)/2))

Submission status: Runtime Error

Solution code:
k = int(input())

if k % 2 == 0:
	answer = (k/2) * (K/2)
else:
	answer = (k//2) * ((k//2) + 1) 
print(int(answer))

Submission status: Runtime Error

Solution code:
#abc108 a
k=int(input())
ans=0
for i in range(2,k+1):
    for j in range(2,k+1):
        if i%2==0 and j%2==1:
            cnt+=1
print(ans)

Submission status: Runtime Error

Solution code:
N, K = map(int, input().split())
div = N // K
if K % 2 == 1:
    print(div**3)
else:
    if div * N + K // 2 <= N:
        print(div**3 + (div + 1)**3)
    else:
        print(2 * div**3)

Submission status: Runtime Error

Solution code:
K = int(input())
print( K//2 * (N - K//2))

Submission status: Runtime Error

Solution code:
x1,y1,x2,y2=map(int,input().split())
dx=abs(x1-x2)
dy=abs(y1-y2)
if x1<x2 and y1<=y2:
    x3=x2-dy
    y3=y2+dx
    x4=x3-dx
    y4=y3-dy
elif x1>=x2 and y1<y2:
    x3=x2-dy
    y3=y2-dx
    x4=x3+dx
    y4=y3-dy
elif x1>x2 and y1>=y2:
    x3=x2-dy
    y3=y2+dx
    x4=x3-dx
    y4=y3-dy
elif x1<=x2 and y1>y2:
    x3=x2+dy
    y3=y2+dx
    x4=x3-dx
    y4=y3+dy
print(x3,y3,x4,y4)

Submission status: Runtime Error

Solution code:
k=int(input())
if n%2==0:
  print(k*k//4)
else:
  print((k+1)*(k-1)//4)

Submission status: Runtime Error

Solution code:
n=int(input())
if n%2==0:
  print(k*k//4)
else:
  print((k+1)*(k-1)//4)

Submission status: Runtime Error

Solution code:
N = int(input())
if K%2==0:
    print(K//2*(K//2-1))
else:
    print(-(-K//2)*((K-1)//2))

Submission status: Runtime Error

Solution code:
N = int(input())
if K%2==0:
    print(K//2*(K//2-1))
else:
    print(-(-K//2)*(K-1)//2)