ruler‑minister calculation