#include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { LL N,a,b,c; cin>>N; cin>>a>>b>>c; LL aw=0; LL X=0; while (X