#include <iostream>
using namespace std;

int main() {
	int N , total=0;
	cout<<"Enter the number of days: ";
	cin>>N;
	int * saves = new int[N];
	cout<<"Enter the saving for each day"<<endl;
	for(int i=0; i<N;i++){
		cin>> saves[i];
	}
	for(int i=0; i<N;i++){
		total+= saves[i];
	}
   cout<<"The total saving is: " <<total;
	return 0;
}