function highAndLow(numbers){
// numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6"
let numbersInArr = numbers.split(' ').map(Number)
let min = Math.min(...numbersInArr);
let max = Math.max(...numbersInArr);
let result = max +' '+min
return result;
}
// numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6"
let numbersInArr = numbers.split(' ').map(Number)
let min = Math.min(...numbersInArr);
let max = Math.max(...numbersInArr);
let result = max +' '+min
return result;
}