Isaimini.6 <Easy — TRICKS>

Example implementation outline (pseudocode):