Implemented input.