ls=eval(input()) ans=float(sum(ls)/len(ls)) print('{:.3f}'.format(ans))
ls=eval(input()) ls=sorted(ls,reverse=True) print(ls)
ls=eval(input()) ans=list() for i in ls: st=str(i) ans.append(len(st)) print(ans)
ls=eval(input()) m=ls[0] for i in ls: if abs(i)>m: m=i print(m)
ls=eval(input()) ans=1 for i in ls: ans*=i print(ans)
ls1=eval(input()) ls2=eval(input()) ans=0 for i in range(min(len(ls1),len(ls2))): ans+=ls1[i]*ls2[i] print(ans)
num = int(input()) ls = [] i=2 while i!=num: if num % i == 0: num /= i ls.append(i) i=2 else: i=i+1 ls.append(i) print(ls)
a,n=input().split() a,n=int(a),int(n) sum,tmp=0,a for i in range(n): sum+=tmp tmp=tmp*10+a print(sum)
n,k=input().split() n,k=int(n),int(k)-1 ls=[i for i in range(n)] while n > k+1: ls.pop(k) for i in range(k): a=ls.pop(0) ls.append(a) n = n-1 while n>1: tmp = k % n ls.pop(tmp) for i in range(k): a=ls.pop(0) ls.append(a) n = n - 1 print(ls)
st=input() l,f=len(st),1 for i in range(l): if st[i]!=st[l-i-1]: f=0 break if f==0: print("False") else: print("True")