inputs and solutions