input exercise