#include using namespace std; typedef long long ll; int main() { string s; cin>>s; if (s=="0w") { cout<<0< ss; vector w; int i=0; while (s.substr(i,3)=="w") i+=3; while (i