#loading library
import numpy as np
# Create a float array
array = np.array([-2.5, -1.8, 0.3, 1.5, 2.7])
# Round the elements away from zero using numpy.where
result = np.where(array > 0, np.ceil(array), np.floor(array))
# Print the resulting array
print(result)