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