#include <iostream>
using namespace std;
int main () {
    int n, total = 0;
    cout << "Enter the no. of days:";
    cin >> n;
    for (int i = 1; i<= n; i++) {
        total = total + i;
    }
    cout << "Total savings is:" << " " << total;
return 0;
    
}
