hackerrank mark and toys