#include #include using namespace std; int main() { int n; while (cin>>n) { vector a(n+1); for(int& v: a) cin>>v; if (n<3) { cout<