Moving Address Values from "Other" to Empty "Mailing"

Moving Address Values from "Other" to Empty "Mailing"

I synchronize my contacts from Gmail. Some contacts' addresses went fine into "Mailing" part but some - to "Other", leaving the former empty:


I assume there could be a custom function to move all corresponding "Other" fields to "Mailing" if "Mailing" fields are empty. It would need to run on all contacts.  I tried figuring it out in the automation but failed. Could someone help out, please?