#C9859. Average Reminder Time

    ID: 53998 Type: Default 1000ms 256MiB

Average Reminder Time

Average Reminder Time

You are given an integer \(N\) that represents the number of contests, followed by \(N\) reminder times (in minutes) separated by spaces. Your task is to calculate the average reminder time. If \(N = 0\), the average is defined to be \(0.00\).

The average is calculated using the formula:

[ \text{Average} = \frac{\sum_{i=1}^{N} t_i}{N} ]

where \(t_i\) represents the reminder time for the \(i\)-th contest. The result should be rounded to two decimal places.

inputFormat

The input consists of two parts:

  • The first line contains an integer \(N\) (the number of contests).
  • If \(N > 0\), the second line contains \(N\) space-separated integers representing the reminder times in minutes.

outputFormat

Output a single line containing the average reminder time rounded to two decimal places.

## sample
3
15 30 45
30.00