#include <sstream>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
stringstream ss("what to do ");
bool read1 = (ss >> s);
bool read2 = (ss >> s);
bool read3 = (ss >> s);
bool read4 = (ss >> s);
cout << read1 << read2 << read3 << read4 << endl;
}
I2luY2x1ZGUgPHNzdHJlYW0+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKICBzdHJpbmcgczsKICBzdHJpbmdzdHJlYW0gc3MoIndoYXQgdG8gZG8gICAiKTsKICBib29sIHJlYWQxID0gKHNzID4+IHMpOyAgIAogIGJvb2wgcmVhZDIgPSAoc3MgPj4gcyk7ICAgCiAgYm9vbCByZWFkMyA9IChzcyA+PiBzKTsgICAKICBib29sIHJlYWQ0ID0gKHNzID4+IHMpOyAgIAoKICBjb3V0IDw8IHJlYWQxIDw8IHJlYWQyIDw8IHJlYWQzIDw8IHJlYWQ0IDw8IGVuZGw7Cn0=