input/output in console