#include <iostream>
#include <iterator>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
istringstream iss("2.3 4.3 5.6 2.1 4.4 3.1");
std::istream_iterator<double> eos; // end-of-stream iterator
std::istream_iterator<double> iit(iss);
vector<double> res(iit, eos);
cout << res.size() << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aXRlcmF0b3I+CiNpbmNsdWRlIDxzc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJaXN0cmluZ3N0cmVhbSBpc3MoIjIuMyA0LjMgNS42IDIuMSA0LjQgMy4xIik7CglzdGQ6OmlzdHJlYW1faXRlcmF0b3I8ZG91YmxlPiBlb3M7ICAgICAgICAgICAgICAvLyBlbmQtb2Ytc3RyZWFtIGl0ZXJhdG9yCiAgICBzdGQ6OmlzdHJlYW1faXRlcmF0b3I8ZG91YmxlPiBpaXQoaXNzKTsgCgl2ZWN0b3I8ZG91YmxlPiByZXMoaWl0LCBlb3MpOwogICAgY291dCA8PCByZXMuc2l6ZSgpIDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==