package main import . "fmt" import . "os" import bf "bufio" func main() { rd:=bf.NewReader(Stdin) var n int Fscan(rd,&n) a:=make([]int64,n) var c int64 for i:=range a { Fscan(rd,&a[i]) c+=a[i] } Println(c) }