# https://app.codesignal.com/arcade/intro/level-2/bq2XnSr5kbHqpHGJC

def make_array_consecutive2(statues):
    items = max(statues) - min(statues)
    return items - len(statues) + 1

c8d7e435af2091a9a16989e8bd7a20693ce30d27
<mask token>

def make_array_consecutive2(statues):
    items = max(statues) - min(statues)
    return items - len(statues) + 1

# https://app.codesignal.com/arcade/intro/level-2/bq2XnSr5kbHqpHGJC

def make_array_consecutive2(statues):
    items = max(statues) - min(statues)
    return items - len(statues) + 1
