Main logic

Now it's working.
I think it's a better idea to check `value === 0` inside the `inputValueFilter` function. By doing that, you are sure that the `inputValueFilter` function checks everything and you don't need to add more code.