Permute the functions of A-S-D-F-G and R