func main() var n: int :: cui@inputInt() var ans: int :: 0 for(1, n) do ans :+ cui@inputInt() end for do cui@print("\{ans}\n") end func