Cmos output stage with input applied