Problem Description

Given n numbers, print the running average after each number (2 decimals).

Input Format

First line n. Next line n ints.

Output Format

n lines averages.

Sample Test Case

Input:
4 10 20 30 40
Output:
10.00 15.00 20.00 25.00

Constraints

n

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next