Thanks, this code is similar to what I need. It just can not be assigned to a hash first.

thanks

Well, that makes zero sense but you're the student (I guess) and he is the instructor. So you need to figure a way to get unique numbers without using a hash. Hint: grep -------------------------------------------------