C++ skip stoi process

`istream >> int`; works in the same way as stoi