mirror of
https://github.com/tiennm99/CodePower.git
synced 2026-10-20 02:17:13 +00:00
8 lines
179 B
Python
8 lines
179 B
Python
a1,b1,c1,a2,b2,a3 = input().split()
|
|
a1 = float(a1)
|
|
b1 = float(b1)
|
|
c1 = float(c1)
|
|
a2 = float(a2)
|
|
b2 = float(b2)
|
|
a3 = float(a3)
|
|
print(((a1 + b1 + c1) + (a2 + b2) * 2 + a3 * 3) / 10) |