#include <iostream>
#include <vector>
#include <stdexcept>
using namespace std;

int main() {
    vector<int> v;

    try {
        cout << v.at(0) << endl;
    } catch (out_of_range& e) {
        cerr << e.what() << endl;
    }
}
