Example grammars for p1, p3, p4