AVRG - Simple Average

There is a customer that always comes to a store and buys 6 different products, but the problem is that he always takes too much time chosing and trying the products because he needs that the average of the products gives an exact number.

Input

As input you will be given 6 lines, each with the cost of one of the products.

Output

Your problem should output the average cost of the products.

Example

Input:
3
7
5
2
1
6

Output:
4

Added by:Sergio Monsalve
Date:2016-07-28
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:MAWK BC NCSHARP COFFEE DART FORTH JULIA KTLN OCT PROLOG PYTHON PYPY PYPY3 PYTHON3 PY_NBC R RACKET SQLITE SWIFT UNLAMBDA

hide comments
2019-07-02 18:07:18
yo i am a complete beginner and i only know c and java and both the languages are not supported here. i would really appreciate it if yo cold solve that issue. thanx bro.

Last edit: 2019-07-02 18:10:39
2018-03-12 19:41:53
I solved it even though C/java is not given
2017-10-15 21:52:09
Guys, it's really quick to learn basics of any supported language just for purposes of that problem.
2017-09-25 18:49:53
Please, allow solutions in c++.

Last edit: 2017-09-25 18:51:03
2017-06-18 09:38:16
why submission of this problem cant be given in cpp
2017-05-29 23:33:56
For Java users Kotlin must be no problem! :O
2017-05-11 07:40:23
Please add submitting option for C or Java :/
2016-12-03 18:20:13
too few language supported??
2016-11-30 15:11:24
because you're loser
2016-11-30 14:48:29
why i cant submit this program in c++?
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.