I have tried with multiple test inputs and seem to get the correct result. any help would be greatly appreciated. thank you.