Form Biggest Number

It’s working for all the possible testcases I can think of, yet it’s not passing even one.
Could someone point as to where I am going wrong?