# Solution by PauloBA

def max_sequence(arr):
    return arr

arg = [-2, 1, -3, 4, -1, 2, 1, -5, 4]

print(max_sequence(arg))

# link https://www.codewars.com/kata/54521e9ec8e60bc4de000d6c/train/python