#include <iostream>
using namespace std;
int main() {
int n;
long long s;
cin >> n >> s;
int ans = 0;
int b[n];
for (int i = 0;i < n;i++) {
cin >> b[i];
}
for (int i = 0;i < n;i++) {
s=b
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: