working input output check in