package main import . "fmt" func main() { var n int Scan(&n) a:=make([]int64,n) var c int64 for i:=range a { Scan(&a[i]) c+=a[i] } Println(c) }