Nor gate four input