what would be the simplest easy-to-calculate non-collision hash function for mapping the following between 0-10 inclusive:

224562,137456,214562

140145,214576,162145

144467,199645,234534

i tried digit-extraction method for 2,4,5,6 position but i get collision. I am workin gon other methods, meanwhile if someone finds out please let me know asap...

thanks