1st testcase isn't passing while other is

@sattyrajpoot39 hey satyam you was forget to consider the following decision statement
Modified code.