print("Enter the value of subject 1 :")
a=float(input())
print("Enter the value of subject 2 :")
b=float(input())
print("Enter the value of subject 3 :")
c=float(input())
sum=a+b+c
print("the sum is ")
print(sum )
avg=sum/3
print("the average marks of the student is")
print(avg)
print("Enter the value of subject 1 :")
a=float(input())
print("Enter the value of subject 2 :")
b=float(input())
print("Enter the value of subject 3 :")
c=float(input())
sum=a+b+c
print("the sum is ")
print(sum )
avg=sum/3
print("the average marks of the student is")
print(avg)