package main import ( "bufio" "fmt" "math/big" "os" "strings" ) func main() { var n int64 sum := new(big.Int) fmt.Scan(&n) r := bufio.NewReader(os.Stdin) b, _, _ := r.ReadLine() ss := strings.Split(string(b), " ") for _, v := range ss { if len(v) < 1 { continue } x, _ := new(big.Int).SetString(v, 10) sum = sum.Add(sum, x) } fmt.Println(sum) }