The code doesn't get the minimum I'll either show the last number I typed or it'll just show0.