-- yukicoder My Practice -- author: Leonardone @ NEETSDKASU main = print . (\(x:xs) -> sum xs - x) . map read . reverse . tail . words =<< getContents