def Map(func, arr):
    return [func(x) for x in arr]