# [05AB1E](https://github.com/Adriandmen/05AB1E/wiki/Commands), 16 [bytes](https://github.com/Adriandmen/05AB1E/wiki/Codepage) 0ÐIv(‚ys+`ŠŠ})Äà Port of [*@tsh*' top Python answer](https://codegolf.stackexchange.com/a/238117/52210). [Try it online](https://tio.run/##yy9OTMpM/f/f4PAEzzKNRw2zKou1E44uOLqgVvNwy@EF//9HG@ooAJGBjoJRLAA) or [verify all test cases](https://tio.run/##yy9OTMpM/V9Waa@k8KhtkoKS/X@DwxMqyzQeNcyqLNZOOLrg6IJazcMthxf81/kfHR2rE22oYwgh4bSBjhGYZQRkgaARVMZIx1jHJDYWAA). **Explanation:** <!-- language-all: lang-python --> 0Ð # Push three 0s, let's call these a,b,c I # Push the input-list v # Pop and loop over each item `y`: ( # Negate the top item: -c ‚ # Pair the top two items in a list: [b,-c] y # Push the current integer `y` s # Swap so the pair is at the top again + # Add both values in the pair to this `y`: [y+b,y-c] ` # Pop and push both separated to the stack again: a,y+b,y-c ŠŠ # Tripleswap twice: y+b,y-c,a }) # After the loop: wrap all three values into a list Ä # Get the absolute values of each à # Pop and push the maximum