#include <iostream>
#include <algorithm>
#include <iterator>
using namespace std;
int main() {
int a[] = {1, 3, 5, 7, 9};
int t = accumulate(begin(a), end(a), 0, plus<int>());
cout << t << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8aXRlcmF0b3I+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWludCBhW10gPSB7MSwgMywgNSwgNywgOX07CglpbnQgdCA9IGFjY3VtdWxhdGUoYmVnaW4oYSksIGVuZChhKSwgMCwgcGx1czxpbnQ+KCkpOwoJY291dCA8PCB0IDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==