N=int(input())suma=0for i in range (N): x=int(input()) suma+=x srednia=suma/Nprint(srednia)
4 0 1 2 3
1.5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!