#include #include #include #define ST first #define ND second #define MP make_pair #define PB push_back #define FOREACH(it,c) for(auto it=(c).begin();it!=(c).end();++it) using namespace std; typedef long long LL; typedef pair PII; typedef vector VLL; typedef vector VI; typedef vector VC; int main() { int n,i,j; LL b,s,k; scanf("%d",&n); // VI t(n); VLL kw; VLL sm; LL st=0; s=k=0; kw.PB(0); sm.PB(0); for(i=0;i