#include
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
setlocale(LC_ALL,"Russian");
string str;
getline(cin,str);
int i=0,digit=0;
while (str[i] != '\0'){
if (str[i] >= '0' && str[i] <= '9') <br> digit++;
i++;
}
char ch='-';
if (digit>(i-digit))
ch='+';
for(int j=0; j str[j]=ch;
cout<<str[j];<br>} _getch();
return 0;
}