#include using namespace std; int main(){ int n,v,ans; cin>>n; vector a(n); for(int i=0;i>a[i]; cin>>v; ans=accumulate(a.begin(),a.end(),-v); cout<