Entropy Formula for Bernoulli Shifts