a =int(input("Enter the value of a: "))
b =int(input("Enter the value of b: "))
c = int(input("Enter the value of c: "))

total = a+b+c
average = total/3
print("total=",total)
print("average=",average)
     
           
Note: Need to be arranged in compiler after copied
   

 OutPut:

Enter the value of a: 54
Enter the value of b: 36
Enter the value of c: 14
total= 104
average= 34.666666666666664