#include <iostream>
#include <numeric>
int main()
{
int valor[10] = {1,2,3,4,5,6,7,8,9,10};
std::cout << std::accumulate(valor, valor+10, 0) << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bnVtZXJpYz4KaW50IG1haW4oKQp7CiAgICBpbnQgdmFsb3JbMTBdID0gezEsMiwzLDQsNSw2LDcsOCw5LDEwfTsKICAgIHN0ZDo6Y291dCA8PCBzdGQ6OmFjY3VtdWxhdGUodmFsb3IsIHZhbG9yKzEwLCAwKSA8PCAnXG4nOwp9