Even considering the example that codegym provides, I would say this should provide the correct output. At first it does, however when I change the input, it no longer provides the minimum. What am I missing here?