Confusing Number II

Confusing Number II - Coding Problem | K5kC