In my task I have several fields to input some number or a string. My task is to input nothing or invalid input. I write input to file, if I input nothing i got this error.<