RT
#include<bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int i = 0;
while(i < s.size()) {
string tmp = "";
for(int j = i; j < s.size(); j++) {
if(s[j] >= '0' && s[j] <= '9') {
tmp = s.substr(i, j - i + 1);
i = j + 1;
break;
}
}
if(tmp.find('+') != -1) tmp.replace(tmp.find('+'), 1, " tighten ");
else tmp.replace(tmp.find('-'), 1, " loosen ");
cout << tmp << endl;
}
return 0;
}