Second solution — Deca