Write a program that takes a positive integer N, and then, N positive integers from the user. The program should print the max value of the even numbers and the min value of the odd numbers respectively.

Examples:
INPUT OUTPUT
8
12 6 7 22 3 7 37 5
22 3
4
98 99 100 101
100 99


Important issues about all exams/projects/quizzes: