What is the correct way to use \author and \thanks when I want to have multiple authors having common affiliations? For instance, using
\author{ABC\thanks{XYZ} \and DEF\thanks{UVW} \and GHI\thanks{XYZ}}
produces the following output

at the top of the page and the following output at the bottom of the page

I would like to get rid of XYZ repeating twice at the bottom of the page since authors ABC and GHI have same affiliation.
