Pocket Gems Interview Question

soring problem