(Print distinct integers) Write a program that reads in 10 i…

(Print distinct integers) Write a program that reads in 10 integers and displays the number of distinct integers and the distinct integers in their input order and separated by exactly one space (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read an integer and store it to an array if it is new. If the integer is already in the array, ignore it.) After the input, the array contains the distinct integers. Here is a sample run: Sample Run Enter ten numbers: 1 2 3 2 1 6 3 4 5 2 The number of distinct number is 6 The distinct numbers are 1 2 3 6 4 5 For a hint on this program, please see https://liveexample.pearsoncmg.com/javarevel13e.html.