recosntruct produce four digit number