expand %G%