Correct error in input and obtained results.