separate input and printable results