Untitled

 avatar
Mohammed
plain_text
a month ago
234 B
2
Indexable
#include <iostream>
#include<algorithm>
using namespace std;
int main() {
    string s;

    cin>>s;
string t=s;
    sort(s.begin(),s.end());
    if (s==t)
        cout<<"original"<<endl;
    else
        cout<<s<<endl;
}
Leave a Comment