#include <iostream>
#include <string>
using namespace std;
string s="";
int main()
{
int old,count=0;
cout<<s.capacity()<<endl;
for(int i=0;i<131043;++i){
old=s.capacity();
s+='.';
if(s.capacity()!=old){
cout<<s.capacity()<<endl;
++count;
}
}
cout<<count<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpzdHJpbmcgcz0iIjsKaW50IG1haW4oKQp7CglpbnQgb2xkLGNvdW50PTA7Cgljb3V0PDxzLmNhcGFjaXR5KCk8PGVuZGw7Cglmb3IoaW50IGk9MDtpPDEzMTA0MzsrK2kpewoJCW9sZD1zLmNhcGFjaXR5KCk7CgkJcys9Jy4nOwoJCWlmKHMuY2FwYWNpdHkoKSE9b2xkKXsKCQkJY291dDw8cy5jYXBhY2l0eSgpPDxlbmRsOwoJCQkrK2NvdW50OwoJCX0KCX0KCWNvdXQ8PGNvdW50PDxlbmRsOwoJcmV0dXJuIDA7Cn0=