#include using namespace std; int n,a,x; int main() { cin>>n;n++; while(n--) cin>>a;x+=(n>0?a:-a); cout<