<filename>Codefights/arcade/code-arcade/level-3/18.Array-Packing/Python/solution1.py
# Python3

from functools import reduce
def arrayPacking(a):
    return reduce(lambda x, y: x << 8 | y, a[::-1], 0)

<filename>Codefights/arcade/code-arcade/level-3/18.Array-Packing/Python/solution1.py
# Python3

from functools import reduce
def arrayPacking(a):
    return reduce(lambda x, y: x << 8 | y, a[::-1], 0)
