import strutils, sequtils proc main() = let _ = stdin.readLine.parseInt echo stdin.readLine.split.map(parseInt).foldl(a + b) when isMainModule: main()