import numpy as np # linear algebra
#import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
#from sklearn.cluster import KMeans
#from sklearn.preprocessing import MinMaxScaler
#from sklearn.ensemble import RandomForestRegressor

# Python 3 code to find sum  
# of elements in given array 
# driver function 
arr = [] 
  
# input values to list 
arr = [12, 3, 4, 15] 
  
# sum() is an inbuilt function in python that adds  
# all the elements in list,set and tuples and returns 
# the value  
ans = sum(arr) 
  
# display sum 
print ('Sum of the array is ',ans) 