1. Write a program that reads from the console a sequence of positive integer numbers. The sequence ends when empty line is entered. Calculate and print the sum and the average of the sequence. Keep the sequence in List.
2. Write a program, which reads from the console N integers and prints them in reversed order. Use the Stack class.