Alice has twice as many apples as Bob. If the total number of apples they have together is 30, how many apples does Bob have?