It's almost time for mid-term marks and Mr. Sidhu, an excellent math teacher, wants to calculate the class average. Since Mr. Sidhu is such a high-performing teacher, many students (represented by ) have transferred into his math class (which initially had students), bringing along their grades from their previous class.

The problem is that Mr. Sidhu wants to see how the class average is affected after each student transfers into his class one by one. Being the nice student you are, you have decided to write him a program that does exactly that.

#### Input Specification

The first line of input will contain , the number of initial students in his class. This is then followed by lines, with each representing the mark of every initial student .

The next line consists of , which represents the number of students transferring into his class.

You may assume that their timetable changes have all been approved by the Guidance Department.

This is followed by lines, with every one of them showing the mark the student had in his or her initial class.

Note that for 80% of the marks, the additional constraints will hold:

#### Output Specification

The output should consist of lines, each containing the class average after each student transfers. Your output should be accurate to an absolute or relative error of .

#### Sample Input

```
2
50
80
2
100
26
```

#### Sample Output

```
76.667
64.000
```

#### Explanation for Sample Output

## Comments

any hint??

There's an editorial if you need a hint

I keep getting RTE on the last test case, which is the only one I haven't gotten. Any suggestions?

Check the constraints on and — your array is too small.