Turkish President Erdogan attending last day of NATO summit