Name and output

Condensing name input and adding output values.