Choose The Definition For The Function P