How to require multiple items to be inputted for one output