Playing with number system


whats wrong in this code.