Palestinians apply for UN membership