electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

Arithmetic Averages

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

Given three integers aaa, bbb, and ccc. Find their arithmetic mean.

Input Format

Three integers aaa, bbb, and ccc are given (1≤a,b,c≤1091 \le a, b, c \le 10^91≤a,b,c≤109).

Output Format

Print the arithmetic mean of the three numbers.

Examples

Example 1
Input
4 5 6
Output
5
Example 2
Input
5 11 47
Output
21
Example 3
Input
2 3 5
Output
3.3333

© 2026 Electicode. All rights reserved.