#include <vector>
#include <string>
#include <iostream>
#include <iomanip>

using namespace std;


int main(int argc, const char * argv[])
{



    std::string s="922337203685477580712324567878";
    size_t index;
    long long l=std::stoll(s, &index);
    if(index!=s.size())
        cout << "Error\n";
}
