#include <iterator>
#include <iostream>
#include <sstream>
using namespace std;
int main() {
istringstream foo("13, lorem ipsum");
const auto bar = *istream_iterator<int>(foo);
cout << bar << endl;
}
I2luY2x1ZGUgPGl0ZXJhdG9yPgojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxzc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgaXN0cmluZ3N0cmVhbSBmb28oIjEzLCBsb3JlbSBpcHN1bSIpOwogIGNvbnN0IGF1dG8gYmFyID0gKmlzdHJlYW1faXRlcmF0b3I8aW50Pihmb28pOwoKICBjb3V0IDw8IGJhciA8PCBlbmRsOwp9