题目描述
include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
int isNum(char s){
if(s>=‘0’&&s<=‘9’) return 1;
else return 0;
}
int main(){
string str;
string num,aph;
cin>>str;
for(int i=0;i<str.length();i++){
if(isNum(str[i])){
num+=str[i];
}
else{
aph+=str[i];
}
}
cout<<aph+num<<endl;
return 0;
}