AMD interview question

Tell me CMOS working function