Another solution for P4-A