Write psuedocode for the following program output.
Enter number of inputs:7
Enter inputs: 10 2 10 5 1 1 100
10, Occurence:2
1, Occurence:2
- Print "Enter number of inputs:"
- Read number of inputs as integer
- Print "Enter inputs:"
- Read into inputs a string of space separated numbers.
- Split inputs into a list of numbers cast to integers.
- Print "10, Occurences:"
- For all n in inputs count the number of occurences of 10
- Print the result of the count
- Print "1, Occurences:"
- For all n in inputs count the number of occurences of 1
- Print the result of the count