x = input().split(",") a,b,c = map(int,x) sum = a+b+c meant = sum/3 print(f"{meant:.2f}")