fix bug for provide input and output when wrong-answer