B8 :
n=int(input())
s=n*(n+1)//2
print(s*s)
B9:
n=int(input())
s=n*n*(n+1)*(n+1)*(2*n*n+2*n-1)//12
print (s)
B10:
n=int(input())
s=n*(n+1)*(n+2)//3
print(s)
B11:
n=int(input())
s=n/(n+1.0)
print(s)
B12:
n=int(input())
s=n/(n+1.0)
print(s)
B13:
n=int(input())
s=n*(n+2)/((n+1)**2)
print(s)
B14:
p = int(input())
n = int(input())
s = (p**(n+1)-1)//(p-1)
print(s)
B15:
n=int(input())
p=int(input())
s=(n+1)*p**(n+1)/(p-1)-(p**(n+1)-1)/((p-1)**2)
print(s)
B16:
n=int(input())
if n % 2 == 0:
print("N chan")
else:
print("N le")
B17:
n=int(input())
if (n%3==0) and (n%5==0):
print("True")
else:
print("False")
B18:
a=int(input())
b=int(input())
rmax=a
if rmax<b:
rmax=b
print(rmax)
B19:
a=int(input())
b=int(input())
c=int(input())
res=a
if(res>b):
res=b
if(res>c):
res=c
print(res)
B20:
a=int(input())
b=int(input())
c=int(input())
m=a+b
n=b+c
p=a+c
rmax=m
if rmax<n:
rmax=n
if rmax<p:
rmax=p
print(rmax)