#include #include #include #include int main() { int n=0; std::cin>>n; std::vector lcc(n); for(int i=0; i>lc; lcc[i] = lc; } std::sort(std::begin(lcc), std::end(lcc)); auto itr = std::find_if(std::begin(lcc), std::end(lcc), [&lcc](int n) { return n!=lcc[0]; } ); if(itr ==std::end(lcc)) { if(lcc[0] == (n-1)*2) { std::cout<