($x + $y + abs($x - $y)) / 2 #### ------------ :Wq Not an editor command: Wq