Tính tổng #3

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Tính trung bình cộng của 1 dãy gồm \(n\) số

Input

  • Dòng 1: Số \(n(1 \leq n \leq 10^4)\)
  • Dòng 2: Gồm \(n\) số nguyên, mỗi số có giá trị không quá \(10^3\)

Output

  • In ra kết quả lấy đến 2 chữ số sau phần thập phân

Example

Test 1
Input
3
19 20 21
Output
20.00

Comments

There are no comments at the moment.