xxxxxxxxxx
injd = int(input('Enter a number'))
n = injd % 2
if n > 0:
print('This is an odd number')
else:
print('This is an even number')
xxxxxxxxxx
n = int(input().strip())
if n % 2 == 0:
if n >= 2 and n <= 5:
print("Not Weird")
if n >= 6 and n <= 20:
print("Weird")
if n > 20:
print("Not Weird")
else:
print("Weird")
# odd numbers are weird
# this is the task which i completed from hacker Rank website
xxxxxxxxxx
for tc in range(int(input())):
a,b = map(int,input().split())
x = b//2 + (b%2)
y = a//2
print("Case %d: %d"%(tc+1,x*x-y*y))
"""
Input:
2
1 10
2 10
Output:
Case 1: 25
Case 2: 24
"""