Convert simple postfix expressions in input to infix expressions with values calculated to output file.