Number each bottle and think about the binary expansion of each bottle's number.