Program that allow user to enter a series of numbers and determine the three largest numbers and three smallest numbers

Write a program that allow user to enter a series of numbers and determine the three largest numbers and three smallest numbers among them. In addition, the program also needs to count the number of odd, even and prime numbers in the series of input numbers. User can enter a series of numbers by separating each number with a space, for example:

42 87 29 10 4 91 73 22 51 69 36 10 88 101

Your program should output the result as showing in below:

Three largest numbers: 101, 91, 88

Three smallest numbers: 4, 10, 22

Numbers of even number(s): 7

Numbers of odd number(s): 7

Numbers of prime number (s): 3

Dear @Eunice_Tan_Xin_Mei
In which language do you want the solution?

Hi @deba98 I’m using C# program