#include using namespace std; int main() { int input; long sum=0; cin >>input; long *ip = new long[input]; for(int i =0; i> ip[i]; sum+=ip[i]; } cout << sum << endl; delete[] ip; return 0; }