[SUBS]RANK

Solutions to problem #260