Transfer of int from array to variable.

To transfer the entered int(s) array into an int variable