Output/Input printing corrected