#include <iostream>
//#include <fstream>
#include <sstream>
int main(){
/*
std::ifstream in("bf", std::ios::binary);
if (!in)
return false;
*/
std::string s;
s.resize(20);
for (int i = 0; i < 20; ++i){
s[i] = (char) i;
}
std::istringstream in(s);
char byte;
while (in.get(byte)){
std::cout << (unsigned int)byte << std::endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgovLyNpbmNsdWRlIDxmc3RyZWFtPgojaW5jbHVkZSA8c3N0cmVhbT4KCmludCBtYWluKCl7CgkvKgoJc3RkOjppZnN0cmVhbSBpbigiYmYiLCBzdGQ6Omlvczo6YmluYXJ5KTsKCWlmICghaW4pCgkJcmV0dXJuIGZhbHNlOwoJKi8KCXN0ZDo6c3RyaW5nIHM7CglzLnJlc2l6ZSgyMCk7Cglmb3IgKGludCBpID0gMDsgaSA8IDIwOyArK2kpewoJCXNbaV0gPSAoY2hhcikgaTsKCX0KCXN0ZDo6aXN0cmluZ3N0cmVhbSBpbihzKTsKCgljaGFyIGJ5dGU7Cgl3aGlsZSAoaW4uZ2V0KGJ5dGUpKXsKCQlzdGQ6OmNvdXQgPDwgKHVuc2lnbmVkIGludClieXRlIDw8IHN0ZDo6ZW5kbDsKCX0KfQ==