The answer is No you should not handle detection of wrong input fomat


All test cases will be valid input format data
So, you can assume that user always enters valid inputs.