Constraints solving a silly number puzzle