Update p3.c
Merge pull request #2 from emilstankov/patch-2

Update p3.c