Overall medal counts in Arithmetic Numbers in Prolog in chars. Ranked by golds, then diamonds, then silvers, then bronzes.