def get_odd_occurence(arr, arr_size):
  
  for i in range(0, arr_size):
    count = 0
    for j in range(0, arr_size):
      if arr[i] == arr[j]:
        count += 1
    if (count % 2 != 0):
      return arr[i]
  return -1
def get_odd_occurence(arr, arr_size):
    i = 0
    while i < arr_size:
        count = 0
        for j in range(0, arr_size):
           
            if arr[i] == arr[j]:
                count += 1
        if count % 2 != 0:
            return arr[i]
        i += 1
    return -1