We work on the assumption that users of this site are trying to learn programming. Simply posting a solution wouldn't provide any learning experience; you gain nothing by copying somebody else's code unchanged. Look what it says on the
forum you posted on:-
We're all here to learn, so when responding to others, please focus on helping them discover their own solutions, instead of simply providing answers.
You were given several helpful suggestions; since you hadn't shown any sign of trying any, I think Knute Snortum was right to obscure the complete solution. Had you followed Piet Souris's suggestion, you would have found a solution quite easily.