My program is returning as expected and I am also following the same procedure. But still 2 cases are failing, dont know why