#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; if (a==b && b==c){ cout<