for ex:
N = 3
1 2 3 (#inputs of length N)
#so I need to take 3 inputs from the user because N value is 3