Looking at the script (and understanding nothing) I see that it wants you to replace the 0 value with some other value.

But also, something is missing here. How are these values being input? This script appears to be for checking that input matches this criteria.

Is there another script that goes with this one?