시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
2 초 512 MB 0 0 0 0.000%

## 문제

The university of “AAA” is interested to investigate and evaluate their performance of professors. They are interested to know who has the less consistency. For this purpose, the university needs to find an approach so that it considers the contribution of all marks of students over a single mark. The University found that the variance of the marks can help them find who has the less consistency. In general, the less consistency has the high dispersion. The highest mark a student can have is limited to 100, moreover, all students have exactly the same number of curses. Additionally, for any students who have missed the course the mark considered to be the lowest possible mark. Variance Formula:

In this formula x shows different mark, represents the mean value of mark. N stands for number of marks.

σ = Σ(x - μ)2 / N

## 입력

First line contains the number of test cases (T): 1 ≤ T ≤ 100

Second line indicates the number of professors to be evaluated. P ranges 1 ≤ P ≤ 30 Therefore, next P lines contain the marks for each professor separated by ", ".

Each mark M is an integer (0 ≤ M ≤ 100)

## 출력

The Pth professor with less consistency and its dispersion score with accuracy of 2 decimal points separated by tab.

## 예제 입력 1

1
2
2, 4, 8, 6, 10, 12
2, 4, 8, 6, 10, 2


## 예제 출력 1

1	11.67