#include #include using namespace std; char sir[102]; long poz, dim, res, temp, nr, lung; int main() { cin.get(sir, 102); cin.get(); while((int)sir[0]>0){ poz=0; if(sir[poz]=='u') poz+=9; if(sir[poz]=='s'){ dim=2; poz+=6; } else if(sir[poz]=='i'){ dim=4; poz+=4; } else { dim=1; poz+=5; } lung=strlen(sir); temp=1; res=0; for(int x=poz; x