#include using namespace std; int a[100],s[100]; int main() { int N; scanf("%d",&N); for(int i=0;i