#include #include #include using namespace std; int main(){ string s; bool p; bool I, B, V;//index register, base register, variable int upperbound, lowerbound; while(1){ getline(cin, s); if(cin.eof()){ break; } for(int i=0; i<(int)s.size(); i++){ if(s[i] !=' '){lowerbound = i;} } for(int i=(int)s.size()-1; i>=0; i--){ if(s[i] != ' '){upperbound = i+1;} } s+='\0'; p=true; I = B = V = false; for(int i=lowerbound; i