Overall medal counts in Trinomial Triangle in Prolog in chars. Ranked by golds, then diamonds, then silvers, then bronzes.