// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include using namespace std; // input data int N; vector S; int main() { // uncomment the following lines if you want to read/write from files // ifstream cin("input.txt"); // ofstream cout("output.txt"); cin >> N; S.resize(N); for (int i=0; i> S[i]; // insert your code here cout << 42 << endl; // print the result return 0; }