Home ยป input and output function