The number of ways in which n distinct objects can be put into two different boxes so that no box remains empty, is