A man was sunbathing naked at the beach.

For the sake of civility, and to keep it from getting sunburned, he had a hat over his privates.

A woman walks past and says, snickering, "If you were a gentleman, you'd lift your hat".

He raised an eyebrow and replied, "if you weren't so ugly, it would lift itself".