Shared gold means no silver medal. (2 gold, 0 silver, 1 bronze)
Shared silver means no bronze medal. (1 gold, 2 silver, 0 bronze)
Shared bronze means shared bronze. Also some disciplines give out 2 bronze medals by default, which is the reason for the high number of bronze medals. (1 gold, 1 silver, 2 bronze)
If only Russia left Ukraine, everything would be much easier…