Implement abstract class Arr.
Implement class Array that extends Arr.
First line contains number n. Next line contains n integers in the range from 0 to 100.
Print in one line the sum of array elements and their average.