Large and Small Magellanic Cloud clean samples for Gaia DR3

In the field of view of the Magellanic Clouds (MCs) astronomers observe both stars that belong to these dwarf galaxies and stars that correspond to the Milky Way (MW) halo. In order to perform any analysis on the Large and Small Magellanic Cloud (LMC and SMC, respectively) we need to get rid to all this foreground contamination of MW stars. Hence the need of obtaining LMC and SMC clean samples. We focus our efforts on the latest Gaia Data Release (Gaia DR3). The classification probability of each object is available in electronic form at the CDS: LMC, SMC.