Can we take the input in List or array?

The question says that do not use list or array but then how will we take the input