Separating hydrogen from natural gas