Overall medal counts in φ in Prolog in bytes. Ranked by golds, then diamonds, then silvers, then bronzes.