def my_hash(key, size):
    return key % size

print(my_hash(15, 10))
print(my_hash(27, 10))
print(my_hash(42, 10))
print(my_hash(35, 10))
