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