#include using namespace std; typedef long long ll; int main() { int n,a,b,c; cin>>n>>a>>b>>c; cout<