Return closest to zero Description :

You are given a string of numbers (positive and negative but not decimals) along with the number of entries like so.

Like so

8 
'1 2 5 0 7 -9 12 -8'

Task :

Your job is to return the number closest to zero be it +ve or -ve. Your input will be separated by spaces only. You are free to return the answer in any way you like namely :


     A string
     A float (Why would you though)
     An array (One digit array I guess)
     A number (preferred)


Since this is code golf the answer with the shortest will be the winner. I guess?

Have fun.

code snippets :



console.log(`6
'1 -2 -8 4 3 5'`) // should return 1
console.log(`3
'-12 -5 -137'`) // should return -3
console.log(`8 
'1 2 5 0 7 -9 12 -8'`) // should return 0




Note :

This is my first attempt at this. Apologies in advance for any mistakes, do tell so I can correct them. Thanks
Python 2, 41 bytes



lambda n:min(map(abs,map(int,n.split())))


Try it online!