def decode_int(value):
    """Decoding the Bencode value to native int value"""
    end_position = value.find('e')
    if len(value[1:end_position]) > 1:
        if value[1] == '-':
            if value[2] == '0':
                raise ValueError('Negative Zero is not allowed!')
        if value[1] == '0':
            raise ValueError('Leading Zero is not allowed')
    decoded_integer = int(value[1:end_position])
    bencode_data = value[end_position:]
    if len(bencode_data) == 1:
        bencode_data = ''
    return decoded_integer, bencode_data
