Two parties agree to share PM and President posts, allotting VP, Speaker and deputy Speaker berths to other parties