sample inputs problem 1
inputs and outputs used