With acid-catalyzed condensation of a molecule with two aldehyde groups that is suitable for forming 5- or 6-membered rings, are both carbonyls protonated right away at the same time (in the first step, before a ring is formed), or is the second protonated at a different time? If the latter is true, when is the second one protonated?