Solution to p4