( p ( g ( f ( p ( p ( f ( g ( p ( n ( g ( f ( p ( p ( f ( g ( p ( n ( f ( p ( p ( f ( g ( p ( n ( p (p