[SUBS]RANK

Solution to problem #259