Algorithm #1 — Deca