Average of Three

Lab Python Beginner 10 points

Read three integers on one line and print their average with 2 decimal places.

Input

One line with three integers.

Output

The average, formatted with :.2f.

Example

Input

1 2 3

Output

2.00
Sample input available Sample output available
Editor
Python

Hints

Add them and divide by 3.

Format with f"{value:.2f}".

Solution explanation

Parentheses make sure the sum happens before the division.

Show solution
a, b, c = map(int, input().split())
print(f"{(a + b + c) / 3:.2f}")
Output
Answer
HOME LEARN COMMUNITY DASHBOARD